No fuse premount in singularity version
- singularity uses the
--fusemount "container:cvmfs2 <repo> <mountpath>"
options to mount cvmfs inside the container.
This is the command that makes GenPipes run in a container:
singularity run --cleanenv -S /var/run/cvmfs -B <host_cache_directory>:/cvmfs-cache \
--fusemount \
"container:cvmfs2 cvmfs-config.computecanada.ca /cvmfs/cvmfs-config.computecanada.ca" \
--fusemount "container:cvmfs2 soft.mugqic /cvmfs/soft.mugqic" \
--fusemount "container:cvmfs2 ref.mugqic /cvmfs/ref.mugqic" \
${SCRIPTPATH}/images/genpipes.sif