File size: 610 Bytes
a4ba047 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | #!/usr/bin/env bash
# Pull QSIPrep 26.1.1 on epic, pinned to the registry digest the local runs used.
set -euo pipefail
ROOT=$HOME/scratch/hmc-m0-reference-runs
DIGEST=sha256:b7d91d9755fd97647632a1f900238425239cd834c97e9866b20af39e224d383a
export TMPDIR=$ROOT/tmp
export APPTAINER_TMPDIR=$ROOT/apptainer-tmp
export APPTAINER_CACHEDIR=$ROOT/apptainer-cache
mkdir -p "$APPTAINER_TMPDIR" "$APPTAINER_CACHEDIR"
cd "$ROOT/containers"
apptainer pull qsiprep-26.1.1.sif "docker://pennlinc/qsiprep@$DIGEST"
sha256sum qsiprep-26.1.1.sif > qsiprep-26.1.1.sif.sha256
echo "$DIGEST" > qsiprep-26.1.1.digest
echo PULL-DONE
|