Skip to content

Commit 2c5cc9f

Browse files
committed
fix(Dockerfile): make TEMPLATEFLOW_HOME writable
1 parent 416610f commit 2c5cc9f

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

Dockerfile

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -164,10 +164,11 @@ ENV TEMPLATEFLOW_HOME="/opt/templateflow"
164164
RUN mkdir -p $TEMPLATEFLOW_HOME
165165
RUN pip install --no-cache-dir "templateflow>=0.1.3,<0.2.0a0" && \
166166
python -c "from templateflow import api as tfapi; \
167-
tfapi.get('MNI152Lin'); \
167+
tfapi.get('MNI152NLin6Asym'); \
168168
tfapi.get('MNI152NLin2009cAsym'); \
169-
tfapi.get('OASIS30ANTs'); \
170-
tfapi.get('NKI');"
169+
tfapi.get('OASIS30ANTs');" && \
170+
find $TEMPLATEFLOW_HOME -type d -exec chmod go=u {} + && \
171+
find $TEMPLATEFLOW_HOME -type f -exec chmod go=u {} +
171172

172173
# Installing dev requirements (packages that are not in pypi)
173174
WORKDIR /src/

0 commit comments

Comments
 (0)