File tree Expand file tree Collapse file tree 3 files changed +6
-3
lines changed Expand file tree Collapse file tree 3 files changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -40,7 +40,8 @@ RUN chmod +x /usr/bin/run_*
40
40
# Speed up building
41
41
RUN mkdir -p /root/src/nipype
42
42
COPY requirements.txt /root/src/nipype/requirements.txt
43
- RUN pip install -r /root/src/nipype/requirements.txt
43
+ RUN pip install -r /root/src/nipype/requirements.txt && \
44
+ sed -i 's/\(backend *: \).*$/\1Agg/g' /usr/local/miniconda/lib/python2.7/site-packages/matplotlib/mpl-data/matplotlibrc
44
45
45
46
# Re-install nipype
46
47
COPY . /root/src/nipype
Original file line number Diff line number Diff line change @@ -45,7 +45,8 @@ RUN rm -r ${FSLDIR}/bin/imglob && \
45
45
# Speed up building
46
46
RUN mkdir -p /root/src/nipype
47
47
COPY requirements.txt /root/src/nipype/requirements.txt
48
- RUN pip install -r /root/src/nipype/requirements.txt
48
+ RUN pip install -r /root/src/nipype/requirements.txt && \
49
+ sed -i 's/\(backend *: \).*$/\1Agg/g' /usr/local/miniconda/lib/python3.4/site-packages/matplotlib/mpl-data/matplotlibrc
49
50
50
51
# Re-install nipype
51
52
COPY . /root/src/nipype
Original file line number Diff line number Diff line change @@ -43,7 +43,8 @@ RUN rm -r ${FSLDIR}/bin/imglob && \
43
43
# Speed up building
44
44
RUN mkdir -p /root/src/nipype
45
45
COPY requirements.txt /root/src/nipype/requirements.txt
46
- RUN pip install -r /root/src/nipype/requirements.txt
46
+ RUN pip install -r /root/src/nipype/requirements.txt && \
47
+ sed -i 's/\(backend *: \).*$/\1Agg/g' /usr/local/miniconda/lib/python3.5/site-packages/matplotlib/mpl-data/matplotlibrc
47
48
48
49
# Re-install nipype
49
50
COPY . /root/src/nipype
You can’t perform that action at this time.
0 commit comments