sbutcher/container-python:latest

$ singularity pull shub://sbutcher/container-python:latest

Singularity Recipe

BootStrap: yum
OSVersion: 7
MirrorURL: https://www.mirrorservice.org/sites/mirror.centos.org/%{OSVERSION}/os/$basearch/
UpdateURL: https://www.mirrorservice.org/sites/mirror.centos.org/%{OSVERSION}/updates/$basearch/
Include: yum


%post
    yum -y groupinstall "Development Tools"
    yum -y install wget

#variables section

VER="2.7.15"
FTPSRV="https://www.python.org/ftp/python/${VER}"
FTP_FILE="Python-${VER}.tgz"
PYTHON_SHORT_VERSION=${VER%.*}

#get , config and make

/usr/bin/wget ${FTPSRV}/${FTP_FILE}
tar xzf ${FTP_FILE}
cd Python-${VER}
./configure
make
make install

%runscript
    python $@

Collection


View on Datalad

Metrics

key value
id /containers/sbutcher-container-python-latest
collection name sbutcher/container-python
branch master
tag latest
commit 7582beb21ac013e6c8da15f1eeaf9fb6105fcce1
version (container hash) b7905585f5af003370ba447519c421c7
build date 2021-01-27T21:34:29.586Z
size (MB) 1108
size (bytes) 335343647
SIF Download URL (please use pull with shub://)
Datalad URL View on Datalad
Singularity Recipe Singularity Recipe on Datalad
We cannot guarantee that all containers will still exist on GitHub.