Skip to content

Commit 520ac07

Browse files
authored
Merge pull request #60 from MetaCell/dockerfile_fix
updated to Dockerfile_dev to make rxd work
2 parents 8027aa0 + b3f12fe commit 520ac07

1 file changed

Lines changed: 9 additions & 16 deletions

File tree

Dockerfile_dev

Lines changed: 9 additions & 16 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 --branch 7.6.1crxd https://github.com/adamjhn/nrn.git
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

@@ -72,4 +65,4 @@ RUN /bin/bash -c "source activate snakes && exec python install.py branch $netpy
7265
WORKDIR /home/jovyan
7366
RUN git clone https://github.com/Neurosim-lab/netpyne_workspace
7467
WORKDIR /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

Comments
 (0)