Skip to content

Commit bd41a2f

Browse files
committed
updated to Dockerfile_dev to make rxd work
1 parent 8027aa0 commit bd41a2f

1 file changed

Lines changed: 8 additions & 15 deletions

File tree

Dockerfile_dev

Lines changed: 8 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
FROM jupyter/base-notebook:eb70bcf1a292
22
USER root
33

4-
ARG netpyneuiBranch=development
5-
ENV netpyneuiBranch=${netpyneuiBranch}
4+
ARG netpyneuiBranch=development
5+
ENV netpyneuiBranch=${netpyneuiBranch}
66
RUN echo "$netpyneuiBranch";
77

88
RUN 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 https://github.com/adamjhn/nrn.git #--branch 7.6.1crxd
39+
WORKDIR nrn
4240
RUN ./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
4942
RUN make --silent -j4
5043
RUN make --silent install -j4
5144

0 commit comments

Comments
 (0)