Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
43 lines (32 sloc) 787 Bytes
BootStrap: docker
From: ubuntu:xenial
#BootStrap: debootstrap
#OSVersion: xenial
#MirrorURL: http://us.archive.ubuntu.com/ubuntu/
%setup
#######################
# ACTIONS FROM HOST
# use $SINGULARITY_ROOTFS to refer to container root (/)
#######################
%post
#######################
# INSTALL SECTION
#######################
mkdir -p /mnt
mkdir -p /scratch
#------------------
# USER INSTALL
#------------------
# ... Install here your software
%runscript
#######################
# RUN COMMAND SCRIPT
# Singularity "run" command launch this script
#######################
echo "Arguments received: $*"
exec "$@"
%test
#######################
# TEST COMMAND SCRIPT
# Singularity "test" command launch this script
#######################
You can’t perform that action at this time.