webapps / hmc /reference /scripts /pull-qsiprep.sh
gdevenyi's picture
hmc: NiFreeze 3bcfb00 and QSIPrep 26.1.1 SHORELine reference runs on ds005577 sub-107 (part 9)
a4ba047 verified
Raw History Blame Contribute Delete
559 Bytes
#!/usr/bin/env bash
# Pull QSIPrep 26.1.1 as an Apptainer SIF. Records the registry digest first.
set -euo pipefail
export TMPDIR=/var/tmp/dwi-tmp
export APPTAINER_TMPDIR=/var/tmp/dwi-hmc/apptainer-tmp
export APPTAINER_CACHEDIR=/var/tmp/dwi-hmc/apptainer-cache
cd /var/tmp/dwi-hmc/containers
curl -sSf "https://hub.docker.com/v2/repositories/pennlinc/qsiprep/tags/26.1.1" > qsiprep-26.1.1-tag.json
apptainer pull --disable-cache=false qsiprep-26.1.1.sif docker://pennlinc/qsiprep:26.1.1
sha256sum qsiprep-26.1.1.sif > qsiprep-26.1.1.sif.sha256
echo PULL-DONE