@@ -109,12 +109,19 @@ RUN mkdir -p /opt/c3d && \
109
109
ENV C3DPATH=/opt/c3d/ \
110
110
PATH=$C3DPATH/bin:$PATH
111
111
112
+ # Installing Ubuntu packages and cleaning up
113
+ RUN apt-get install -y --no-install-recommends \
114
+ git=1:2.7.4-0ubuntu1 \
115
+ graphviz=2.38.0-12ubuntu2 && \
116
+ apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
117
+
112
118
# Install some other required tools
113
119
ENV apt-get install -y --no-install-recommends \
120
+ git=1:2.7.4-0ubuntu1 \
121
+ graphviz=2.38.0-12ubuntu2 \
114
122
unzip \
115
123
apt-utils \
116
124
fusefat \
117
- graphviz \
118
125
make \
119
126
ruby && \
120
127
rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
@@ -165,7 +172,7 @@ ENV PATH=/usr/local/miniconda/bin:$PATH \
165
172
ACCEPT_INTEL_PYTHON_EULA=yes
166
173
167
174
# Installing precomputed python packages
168
- RUN conda config --add channels intel && \
175
+ RUN conda config --add channels intel conda-forge && \
169
176
conda config --set always_yes yes --set changeps1 no && \
170
177
conda update -q conda && \
171
178
conda install -y mkl=2017.0.1 \
@@ -177,18 +184,14 @@ RUN conda config --add channels intel && \
177
184
libxml2=2.9.4 \
178
185
libxslt=1.1.29 \
179
186
traits=4.6.0 \
180
- icu && \
187
+ psutil=5.0.1 \
188
+ icu=58.1 && \
181
189
chmod +x /usr/local/miniconda/bin/* && \
182
190
conda clean --all -y
183
191
184
- # Precaching fonts
185
- RUN python -c "from matplotlib import font_manager"
186
-
187
- # Installing Ubuntu packages and cleaning up
188
- RUN apt-get install -y --no-install-recommends \
189
- git=1:2.7.4-0ubuntu1 \
190
- graphviz=2.38.0-12ubuntu2 && \
191
- apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
192
+ # matplotlib cleanups: set default backend, precaching fonts
193
+ RUN sed -i 's/\( backend *: \) .*$/\1 Agg/g' /usr/local/miniconda/lib/python2.7/site-packages/matplotlib/mpl-data/matplotlibrc && \
194
+ python -c "from matplotlib import font_manager"
192
195
193
196
# Unless otherwise specified each process should only use one thread - nipype
194
197
# will handle parallelization
0 commit comments