marcc-hpc/julia:1.0.1
$ singularity pull shub://marcc-hpc/julia:1.0.1
Singularity Recipe
Bootstrap: docker
From: library/julia:1.0.1
%environment
# use bash as default shell
SHELL=/bin/bash
export SHELL
%setup
# runs on host - the path to the image is $SINGULARITY_ROOTFS
%post
# post-setup script
# load environment variables
. /environment
# use bash as default shell
echo 'SHELL=/bin/bash' >> /environment
# make environment file executable
chmod +x /environment
# default mount paths
mkdir /scratch /data
apt-get update
apt-get install -y libcairo2
apt-get install -y libfontconfig1
apt-get install -y libpango1.0-0
apt-get install -y libglib2.0-0
apt-get install -y libpng16-16
apt-get install -y libpixman-1-0
apt-get install -y gettext
apt-get install -y hdf5-tools
%runscript
# executes with the singularity run command
# delete this section to use existing docker ENTRYPOINT command
exec /usr/local/julia/bin/julia "$@"
%test
# test that script is a success
Collection
- Name: marcc-hpc/julia
- License: MIT License
View on Datalad
Metrics
key | value |
---|---|
id | /containers/marcc-hpc-julia-1.0.1 |
collection name | marcc-hpc/julia |
branch | master |
tag | 1.0.1 |
commit | 8ba703f5eb359889b89d69b13e547875b80c3a28 |
version (container hash) | ef81cd189c39c79464fa517d6d9d93b2 |
build date | 2018-11-07T13:35:05.785Z |
size (MB) | 550 |
size (bytes) | 186642463 |
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.