github.com/hpcng/singularity@v3.1.1+incompatible/examples/apps/Singularity (about) 1 Bootstrap: docker 2 From: ubuntu:14.04 3 4 %setup 5 echo "SETUP" 6 7 %appinstall foo 8 9 echo "INSTALLING FOO" 10 touch filefoo.exec 11 12 %appinstall bar 13 14 echo "INSTALLING BAR" 15 touch filebar.exec 16 17 %apphelp foo 18 This is the help for foo! 19 20 %applabels foo 21 HELLOTHISIS foo 22 23 %applabels bar 24 HELLOTHISIS bar 25 26 %appenv foo 27 HELLOTHISIS=foo 28 export HELLOTHISIS 29 30 %apprun foo 31 echo "RUNNING FOO" 32 33 %runscript 34 echo "RUNSCRIPT" 35 36 %post 37 echo "POST"