outbackCrustacian/python_singularity_recipes:python
$ singularity pull shub://outbackCrustacian/python_singularity_recipes:python
Singularity Recipe
Bootstrap: shub
From: jtchilders/singularity_mpi_test_recipe:latest
%setup
cp hello.py ${SINGULARITY_ROOTFS}/
%post
yum install -y wget
yum install -y zlib-devel
yum install -y libffi-devel
yum install -y openssl-devel
#Set correct path for mpich
#Stop pending
export PATH=$PATH:/mpich/install/bin
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/mpich/install/lib
env | sort
wget -q https://www.python.org/ftp/python/3.7.0/Python-3.7.0.tar.xz
tar xf Python-3.7.0.tar.xz --strip-components=1
#install python to the container
./configure
make
make install
ls
python3 hello.py
#install pip
curl https://bootstrap.pypa.io/get-pip.py | python
Collection
- Name: outbackCrustacian/python_singularity_recipes
- License: None
View on Datalad
Metrics
key | value |
---|---|
id | /containers/outbackCrustacian-python_singularity_recipes-python |
collection name | outbackCrustacian/python_singularity_recipes |
branch | master |
tag | python |
commit | 28d280ab81b3424c160f7288d901b893aab3bf70 |
version (container hash) | ccc00996e505f2f5f66c8c93cb2b9847 |
build date | 2018-08-10T20:17:51.360Z |
size (MB) | 1204 |
size (bytes) | 321105951 |
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.