stephansmit/python_containers:latest
$ singularity pull shub://stephansmit/python_containers:latest
Singularity Recipe
Bootstrap: docker
From: ubuntu:16.04
%environment
%files
requirements.txt /opt/
%post
echo "Update apt-get"
apt-get -y update
echo "Install python3"
apt-get -y install python3-matplotlib python3-pip
ln -s /usr/bin/python3 /usr/bin/python
echo "Install python packages"
python3 -m pip install --upgrade pip numpy
python3 -m pip install -r /opt/requirements.txt
%runscript
exec /usr/bin/python3 "$@"
Collection
- Name: stephansmit/python_containers
- License: None
View on Datalad
Metrics
key | value |
---|---|
id | /containers/stephansmit-python_containers-latest |
collection name | stephansmit/python_containers |
branch | master |
tag | latest |
commit | e233eb828ab30ec1c71d9ec0ff698048d090ebfd |
version (container hash) | fd9a339842cec304805fe588181e9dbe |
build date | 2019-08-15T13:29:30.154Z |
size (MB) | 804.0 |
size (bytes) | 335052831 |
SIF | Download URL (please use pull with shub://) |
Datalad URL | View on Datalad |
Singularity Recipe | Singularity Recipe on Datalad |
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.