Skip to content

Commit

Permalink
add genpipes envfile for container
Browse files Browse the repository at this point in the history
  • Loading branch information
poquirion committed Aug 12, 2021
1 parent 739bf0a commit 3d35e6e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions singularity/wrapper_genpipes/bin/container_wrapper.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,14 @@ mkdir -p ${GEN_SHARED_CVMFS}


if [ -z ${BIND_LIST+x} ]; then
singularity run --cleanenv -S /var/run/cvmfs -B ${GEN_SHARED_CVMFS}:/cvmfs-cache \
singularity run --env-file $HOME/.genpipes_env --cleanenv -S /var/run/cvmfs -B ${GEN_SHARED_CVMFS}:/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 "$@"
else
singularity run --cleanenv -S /var/run/cvmfs -B ${GEN_SHARED_CVMFS}:/cvmfs-cache \
singularity run --env-file $HOME/.genpipes_env --cleanenv -S /var/run/cvmfs -B ${GEN_SHARED_CVMFS}:/cvmfs-cache \
-B "$BIND_LIST" \
--fusemount \
"container:cvmfs2 cvmfs-config.computecanada.ca /cvmfs/cvmfs-config.computecanada.ca" \
Expand Down

0 comments on commit 3d35e6e

Please sign in to comment.