jacobhepkema/scover_singularity_python:latest

$ singularity pull shub://jacobhepkema/scover_singularity_python:latest

Singularity Recipe

Bootstrap: docker

From: continuumio/miniconda3

%files
    environment.yml

%post
    apt-get update && apt-get install -y --no-install-recommends apt-utils build-essential make zlib1g
    apt-get update && apt-get install -y procps
    
    ENV_NAME=$(head -1 environment.yml | cut -d' ' -f2)
    echo ". /opt/conda/etc/profile.d/conda.sh" >> $SINGULARITY_ENVIRONMENT
    echo "conda activate $ENV_NAME" >> $SINGULARITY_ENVIRONMENT
    
    . /opt/conda/etc/profile.d/conda.sh
    # create environment
    conda env create -f environment.yml -p /opt/conda/envs/$ENV_NAME
    
%runscript
    exec /opt/conda/envs/$(head -n 1 environment.yml | cut -f 2 -d ' ')/bin/"$@"

Collection


View on Datalad

Metrics

key value
id /containers/jacobhepkema-scover_singularity_python-latest
collection name jacobhepkema/scover_singularity_python
branch master
tag latest
commit 70cec78fe9d08243bcbf1aeaca6f1a0b203a5b39
version (container hash) 302f2c4ef060b70d22b3549f228e37ae
build date 2021-02-27T18:20:30.675Z
size (MB) 6349.0
size (bytes) 3415396383
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.