Skip to content

Commit f2857df

Browse files
using singularity instead of docker
1 parent a2957e3 commit f2857df

1 file changed

Lines changed: 5 additions & 7 deletions

File tree

bash_scripts/run_cpac-lite.sh

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -35,13 +35,11 @@ for pipeline in ${PRECONFIGS}; do
3535
cat << TMP > reglite_${pipeline}_${data}_${subject}.sh
3636
#!/usr/bin/bash
3737
38-
docker run --rm \
39-
--user $(id -u):$(id -g) -v /etc/passwd:/etc/passwd \
40-
-v /etc/group:/etc/group \
41-
-v ${REG_DATA}:/reg-data \
42-
-v ${datapath}:/data \
43-
-v ${OUTPUT}:/outputs \
44-
-v ${PIPELINE_CONFIGS}:/pipeline_configs \
38+
singularity run --rm \
39+
-B ${REG_DATA}:/reg-data \
40+
-B ${datapath}:/data \
41+
-B ${OUTPUT}:/outputs \
42+
-B ${PIPELINE_CONFIGS}:/pipeline_configs \
4543
${DOCKER_TAG} /data /outputs participant \
4644
--save_working_dir --skip_bids_validator \
4745
--pipeline_file /pipeline_configs/${pipeline}_lite.yml \

0 commit comments

Comments
 (0)