@@ -33,12 +33,6 @@ MAINTAINER Stanford Center for Reproducible Neuroscience <crn.poldracklab@gmail.
3333RUN ln -snf /bin/bash /bin/sh
3434WORKDIR /root
3535
36- # Install graphviz to provide dot
37- ARG DEBIAN_FRONTEND=noninteractive
38- RUN apt-get update && \
39- apt-get install -y graphviz && \
40- rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
41-
4236RUN mkdir -p .nipype && \
4337 echo '[logging]' > .nipype/nipype.cfg && \
4438 echo 'workflow_level = DEBUG' >> .nipype/nipype.cfg && \
@@ -47,26 +41,32 @@ RUN mkdir -p .nipype && \
4741
4842# Install this branch's code
4943WORKDIR /root/src
44+
45+ # Install matplotlib, sphinx and coverage to build documentation
46+ # and run tests with coverage
47+ RUN source activate nipypetests-2.7 && \
48+ pip install matplotlib sphinx coverage && \
49+ source activate nipypetests-3.4 && \
50+ pip install matplotlib sphinx coverage && \
51+ source activate nipypetests-3.5 && \
52+ pip install matplotlib sphinx coverage
53+
5054ADD . nipype/
5155
5256# Install the checked out version of nipype, check that requirements are
5357# installed and install it for each of the three environments.
54- # Additionally, install matplotlib and sphinx to build documentation
5558RUN cd nipype/ && \
5659 source activate nipypetests-2.7 && \
57- pip install matplotlib sphinx coverage && \
5860 pip install -r requirements.txt && \
5961 pip install -e .
6062
6163RUN cd nipype/ && \
6264 source activate nipypetests-3.4 && \
63- pip install matplotlib sphinx coverage && \
6465 pip install -r requirements.txt && \
6566 pip install -e .
6667
6768RUN cd nipype/ && \
6869 source activate nipypetests-3.5 && \
69- pip install matplotlib sphinx coverage && \
7070 pip install -r requirements.txt && \
7171 pip install -e .
7272
@@ -78,5 +78,4 @@ RUN chmod +x /usr/bin/run_*
7878
7979# RUN echo 'source /etc/profile.d/nipype_tests.sh' >> /etc/bash.bashrc
8080ENTRYPOINT ["/usr/bin/run_examples.sh" ]
81- CMD ["--help" ]
8281
0 commit comments