Skip to content

Commit 88edd34

Browse files
committed
ENH: use run-bash instead of run
1 parent 8dd6f19 commit 88edd34

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

create_dockerfile.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,16 +16,16 @@ docker run --rm kaczmarj/neurodocker:v0.3.2 generate -b neurodebian:stretch-non-
1616
env_name="neuro" \
1717
activate=True \
1818
--run-bash "source activate neuro && jupyter nbextension enable exercise2/main && jupyter nbextension enable spellchecker/main" \
19-
--run 'mkdir -p ~/.jupyter && echo c.NotebookApp.ip = \"0.0.0.0\" > ~/.jupyter/jupyter_notebook_config.py' \
19+
--run-bash 'mkdir -p ~/.jupyter && echo c.NotebookApp.ip = \"0.0.0.0\" > ~/.jupyter/jupyter_notebook_config.py' \
2020
--user=root \
21-
--run 'mkdir /data && chmod 777 /data && chmod a+s /data' \
22-
--run 'mkdir /output && chmod 777 /output && chmod a+s /output' \
21+
--run-bash 'mkdir /data && chmod 777 /data && chmod a+s /data' \
22+
--run-bash 'mkdir /output && chmod 777 /output && chmod a+s /output' \
2323
--user=neuro \
2424
--run-bash 'source activate neuro && cd /data && datalad install -r ///workshops/nih-2017/ds000114 && cd ds000114 && datalad update -r && datalad get -r sub-01/ses-test/anat sub-01/ses-test/func/*fingerfootlips*' \
2525
--run-bash 'curl -L https://files.osf.io/v1/resources/fvuh8/providers/osfstorage/580705089ad5a101f17944a9 -o /data/ds000114/derivatives/fmriprep/mni_icbm152_nlin_asym_09c.tar.gz && tar xf /data/ds000114/derivatives/fmriprep/mni_icbm152_nlin_asym_09c.tar.gz -C /data/ds000114/derivatives/fmriprep/. && rm /data/ds000114/derivatives/fmriprep/mni_icbm152_nlin_asym_09c.tar.gz && find /data/ds000114/derivatives/fmriprep/mni_icbm152_nlin_asym_09c -type f -not -name ?mm_T1.nii.gz -not -name ?mm_brainmask.nii.gz -not -name ?mm_tpm*.nii.gz -delete' \
2626
--copy . "/home/neuro/nipype_tutorial" \
2727
--user=root \
28-
--run 'chown -R neuro /home/neuro/nipype_tutorial' \
28+
--run-bash 'chown -R neuro /home/neuro/nipype_tutorial' \
2929
--run-bash 'rm -rf /opt/conda/pkgs/*' \
3030
--user=neuro \
3131
--workdir /home/neuro/nipype_tutorial \

0 commit comments

Comments
 (0)