Skip to content

Commit c80fa19

Browse files
authored
Allow to choose singularity/apptainer container
1 parent d0a5c35 commit c80fa19

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

GRID/utils/runGRIDContainerized.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@ fi
1818
if [ "$ARCH" == "aarch64" ]; then
1919
ISAARCH64="1"
2020
fi
21-
# we just use the default singularity container
22-
APPTAINER_CONTAINER=/cvmfs/alice.cern.ch/containers/fs/singularity/default${ISAARCH64+"-aarch64"}
21+
# we just use the default singularity container (if not already set)
22+
APPTAINER_CONTAINER=${APPTAINER_CONTAINER:-/cvmfs/alice.cern.ch/containers/fs/singularity/default${ISAARCH64+"-aarch64"}}
2323

2424
# create workdir if not specified externally
2525
if [ ! "${WORK_DIR}" ]; then

0 commit comments

Comments
 (0)