File size: 559 Bytes
a4ba047
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
#!/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