11FROM jupyter/base-notebook:eb70bcf1a292
22USER root
33
4- ARG netpyneuiBranch=development
5- ENV netpyneuiBranch=${netpyneuiBranch}
4+ ARG netpyneuiBranch=development
5+ ENV netpyneuiBranch=${netpyneuiBranch}
66RUN echo "$netpyneuiBranch";
77
88RUN apt-get -qq update
@@ -13,7 +13,7 @@ RUN apt-get install -y \
1313 g++ \
1414 build-essential \
1515 libncurses-dev \
16- python \
16+ python2.7 \
1717 libpython-dev \
1818 cython \
1919 libx11-dev \
@@ -24,28 +24,21 @@ RUN apt-get install -y \
2424 libtool \
2525 libxext-dev \
2626 libncurses-dev \
27- python3 -dev \
27+ python2.7 -dev \
2828 xfonts-100dpi \
29- cython3 \
3029 libopenmpi-dev \
31- python3 -scipy \
30+ python2.7 -scipy \
3231 make \
3332 zlib1g-dev \
3433 unzip \
3534 vim \
3635 libpng-dev
3736
3837# Install latest iv and NEURON
39- RUN git clone http://github.com/neuronsimulator/iv
40- RUN git clone --branch 7.6.1crxd https://github.com/adamjhn/nrn.git
41- WORKDIR iv
38+ RUN git clone --branch 7.6.1crxd https://github.com/adamjhn/nrn.git
39+ WORKDIR nrn
4240RUN ./build.sh
43- RUN ./configure --prefix="/home/jovyan/work/iv/"
44- RUN make --silent -j4
45- RUN make --silent install -j4
46- WORKDIR ../nrn
47- RUN ./build.sh
48- RUN ./configure --with-nrnpython=python2 --with-paranrn --prefix="/home/jovyan/work/nrn/" --with-iv="/home/jovyan/work/iv/"
41+ RUN ./configure --without-x --with-nrnpython=python2 --without-paranrn --prefix="/home/jovyan/work/nrn/" --without-iv
4942RUN make --silent -j4
5043RUN make --silent install -j4
5144
@@ -72,4 +65,4 @@ RUN /bin/bash -c "source activate snakes && exec python install.py branch $netpy
7265WORKDIR /home/jovyan
7366RUN git clone https://github.com/Neurosim-lab/netpyne_workspace
7467WORKDIR /home/jovyan/netpyne_workspace
75- CMD /bin/bash -c "source activate snakes && exec jupyter notebook --debug --NotebookApp.default_url=/geppetto --NotebookApp.token=''"
68+ CMD /bin/bash -c "source activate snakes && exec jupyter notebook --debug --NotebookApp.default_url=/geppetto --NotebookApp.token=''"
0 commit comments