mwiens91/saltant-working-example:latest
$ singularity pull shub://mwiens91/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
- Name: mwiens91/saltant-working-example
- License: None
View on Datalad
Metrics
key | value |
---|---|
id | /containers/mwiens91-saltant-working-example-latest |
collection name | mwiens91/saltant-working-example |
branch | master |
tag | latest |
commit | ee2ad3efe53cd579c8c1a85612d3f68696ab0eea |
version (container hash) | ede0dc46de8824a7c46a24ffabd6472b |
build date | 2018-08-16T01:30:06.916Z |
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 |
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.