@@ -124,6 +124,7 @@ ENV PATH="/usr/local/miniconda/bin:$PATH" \
124
124
LC_ALL="C.UTF-8" \
125
125
PYTHONNOUSERSITE=1
126
126
127
+ ENV FOO=1
127
128
# Installing precomputed python packages
128
129
RUN conda install -y python=3.7.1 \
129
130
pip=19.1 \
@@ -154,8 +155,8 @@ RUN python -c "from matplotlib import font_manager" && \
154
155
sed -i 's/\( backend *: \) .*$/\1 Agg/g' $( python -c "import matplotlib; print(matplotlib.matplotlib_fname())" )
155
156
156
157
# Precaching atlases
157
- COPY setup.cfg fmriprep -setup.cfg
158
- RUN pip install --no-cache-dir "$( grep templateflow fmriprep -setup.cfg | xargs )" && \
158
+ COPY setup.cfg dmriprep -setup.cfg
159
+ RUN pip install --no-cache-dir "$( grep templateflow dmriprep -setup.cfg | xargs )" && \
159
160
python -c "from templateflow import api as tfapi; \
160
161
tfapi.get('MNI152NLin6Asym', atlas=None, resolution=[1, 2], extension=['.nii', '.nii.gz']); \
161
162
tfapi.get('MNI152NLin2009cAsym', atlas=None, extension=['.nii', '.nii.gz']); \
@@ -169,13 +170,12 @@ ARG VERSION
169
170
# Force static versioning within container
170
171
RUN echo "${VERSION}" > /src/dmriprep/dmriprep/VERSION && \
171
172
echo "include dmriprep/VERSION" >> /src/dmriprep/MANIFEST.in && \
172
- pip install --no-cache-dir "/src/dmriprep[all]"
173
+ cd /src/dmriprep && \
174
+ pip install --no-cache-dir .[all]
173
175
174
176
RUN find $HOME -type d -exec chmod go=u {} + && \
175
177
find $HOME -type f -exec chmod go=u {} +
176
178
177
- ENV IS_DOCKER_8395080871=1
178
-
179
179
RUN ldconfig
180
180
WORKDIR /tmp/
181
181
ENTRYPOINT ["/usr/local/miniconda/bin/dmriprep" ]
0 commit comments