Skip to content
Snippets Groups Projects
Commit f7e039d9 authored by Matthias Schnepf's avatar Matthias Schnepf
Browse files

Add singularity hook

parent 45338234
Branches
No related tags found
No related merge requests found
......@@ -45,8 +45,9 @@ STARTD_NAME = $ENV(TardisDroneUuid)
Singularity = /usr/bin/apptainer
Singularity_Job = TRUE
# Forces all jobs to use the CernVM-based image.
#SINGULARITY_IMAGE_EXPR = "/cvmfs/unpacked.cern.ch/registry.hub.docker.com/mschnepf/slc7-condocker:latest"
SINGULARITY_IMAGE_EXPR = "docker://mschnepf/slc7-condocker:latest"
SINGULARITY_IMAGE_EXPR = "/cvmfs/unpacked.cern.ch/registry.hub.docker.com/mschnepf/slc7-condocker:latest"
#SINGULARITY_IMAGE_EXPR = "docker://mschnepf/slc7-condocker:latest"
SINGULARITY_HOOK_PREPARE_JOB = /etc/condor/git/scripts/singularity_hook.sh
# Maps $_CONDOR_SCRATCH_DIR on the host to /srv inside the image.
SINGULARITY_TARGET_DIR = /srv
# Set Scratch to default
......
#!/bin/bash
# Read and discard the job ClassAd
cat > /dev/null
# just update
echo 'WantDocker = false'
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment