File tree Expand file tree Collapse file tree 1 file changed +7
-4
lines changed Expand file tree Collapse file tree 1 file changed +7
-4
lines changed Original file line number Diff line number Diff line change @@ -160,10 +160,8 @@ ENV TEMPLATEFLOW_HOME="/opt/templateflow"
160
160
RUN pip install "datalad==0.10.0" && \
161
161
rm -rf ~/.cache/pip
162
162
163
- RUN git config --global user.name "First Last" && \
164
- git config --global user.email
"[email protected] "
165
-
166
- RUN datalad install -r https://github.com/templateflow/templateflow.git && \
163
+ RUN umask 000 && \
164
+ datalad install -r https://github.com/templateflow/templateflow.git && \
167
165
datalad get $TEMPLATEFLOW_HOME/tpl-MNI152NLin2009cAsym/*_T1w.nii.gz \
168
166
$TEMPLATEFLOW_HOME/tpl-MNI152NLin2009cAsym/*_desc-brain_mask.nii.gz \
169
167
$TEMPLATEFLOW_HOME/tpl-MNI152NLin2009cAsym/tpl-MNI152NLin2009cAsym_res-02_desc-fMRIPrep_boldref.nii.gz \
@@ -175,6 +173,11 @@ RUN datalad install -r https://github.com/templateflow/templateflow.git && \
175
173
$TEMPLATEFLOW_HOME/tpl-OASIS30ANTs/tpl-OASIS30ANTs_res-01_label-brain_probseg.nii.gz \
176
174
$TEMPLATEFLOW_HOME/tpl-OASIS30ANTs/tpl-OASIS30ANTs_res-01_desc-BrainCerebellumExtraction_mask.nii.gz
177
175
176
+ # Stop datalad complaining about user info when using templateflow on Singularity
177
+ RUN cd $TEMPLATEFLOW_HOME && \
178
+ git config user.name "fMRIPrep User" && \
179
+ git config user.email
"[email protected] "
180
+
178
181
# Installing dev requirements (packages that are not in pypi)
179
182
WORKDIR /src/
180
183
COPY requirements.txt requirements.txt
You can’t perform that action at this time.
0 commit comments