saltant-org/saltant-working-example:latest

$ singularity pull shub://saltant-org/saltant-working-example:latest

Singularity Recipe

# Pull from Ubuntu 16.04 image
Bootstrap: debootstrap
OSVersion: xenial
MirrorURL: http://us.archive.ubuntu.com/ubuntu/

# Copy over files
%files
    main.py /
    requirements.txt /

%post
    # Create a directory to hold our scripts
    mkdir /app
    mv /main.py /app/
    mv /requirements.txt /app/

    # Make logs and results directories
    mkdir /logs
    mkdir /results

    # Install Python 3.5 and Pip
    apt-get install -y software-properties-common
    apt-add-repository universe
    apt-get update
    apt-get install -y python3-pip

    # Install Python requirements
    pip3 install -r /app/requirements.txt

Collection


View on Datalad

Metrics

key value
id /containers/saltant-org-saltant-working-example-latest
collection name saltant-org/saltant-working-example
branch master
tag latest
commit 362d18c85cbb9bb412892664ee78acfc90742ce2
version (container hash) ebca4bb346f4e5a25d8ad4a2cec7f527
build date 2018-10-10T10:52:36.958Z
size (MB) 740
size (bytes) 373813279
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.