Commit 7b58dfb4 authored by Jochen Schulz's avatar Jochen Schulz
Browse files

added singularity container description for building and using proxpython

parent 25a46fa1
Bootstrap: docker
From: python:3.8.5-slim-buster
cp poetry.lock $SINGULARITY_ROOTFS/code/
cp pyproject.toml $SINGULARITY_ROOTFS/code/
apt-get -qyy update
env DEBIAN_FRONTEND=noninteractive apt-get -qyy install -o APT::Install-Recommends=false -o APT::Install-Suggests=false \
git cmake ninja-build libscalapack-openmpi-dev \
build-essential curl
apt-get clean
export POETRY_HOME=/etc/poetry
curl -sSL | python
ln -s /etc/poetry/bin/poetry /usr/local/bin/poetry
chmod a+rX /etc/poetry/bin/poetry
export PIP_NO_CACHE_DIR=off
cd /code
poetry config virtualenvs.create false
poetry install --no-interaction --no-ansi
exec poetry shell "$@"
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment