Skip to content

Commit 2dd251c

Browse files
committed
Update pip docker file
1 parent 2c87523 commit 2dd251c

File tree

1 file changed

+7
-14
lines changed

1 file changed

+7
-14
lines changed

Dockerfile

Lines changed: 7 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ RUN apt-get install -y \
99
g++ \
1010
build-essential \
1111
libncurses-dev \
12-
python \
12+
python2.7 \
1313
libpython-dev \
1414
cython \
1515
libx11-dev \
@@ -20,28 +20,21 @@ RUN apt-get install -y \
2020
libtool \
2121
libxext-dev \
2222
libncurses-dev \
23-
python3-dev \
23+
python2.7-dev \
2424
xfonts-100dpi \
25-
cython3 \
2625
libopenmpi-dev \
27-
python3-scipy \
26+
python2.7-scipy \
2827
make \
2928
zlib1g-dev \
3029
unzip \
3130
vim \
3231
libpng-dev
3332

34-
# Install latest iv and NEURON
35-
RUN git clone http://github.com/neuronsimulator/iv
36-
RUN git clone --branch 7.6.1crxd https://github.com/adamjhn/nrn.git
37-
WORKDIR iv
33+
# Install latest NEURON
34+
RUN git clone --branch 7.6.1crxd https://github.com/adamjhn/nrn.git
35+
WORKDIR nrn
3836
RUN ./build.sh
39-
RUN ./configure --prefix="/home/jovyan/work/iv/"
40-
RUN make --silent -j4
41-
RUN make --silent install -j4
42-
WORKDIR ../nrn
43-
RUN ./build.sh
44-
RUN ./configure --with-nrnpython=python2 --with-paranrn --prefix="/home/jovyan/work/nrn/" --with-iv="/home/jovyan/work/iv/"
37+
RUN ./configure --without-x --with-nrnpython=python2 --without-paranrn --prefix="/home/jovyan/work/nrn/" --without-iv
4538
RUN make --silent -j4
4639
RUN make --silent install -j4
4740

0 commit comments

Comments
 (0)