11FROM jupyter/base-notebook:eb70bcf1a292
22USER root
33
4- ARG netpyneuiBranch=0.2M3
5- ENV netpyneuiBranch=${netpyneuiBranch}
4+ ARG netpyneuiBranch=development
5+ ENV netpyneuiBranch=${netpyneuiBranch}
66RUN echo "$netpyneuiBranch";
77
88RUN apt-get -qq update
@@ -37,15 +37,15 @@ RUN apt-get install -y \
3737
3838# Install latest iv and NEURON
3939RUN git clone http://github.com/neuronsimulator/iv
40- RUN git clone http ://github.com/neuronsimulator /nrn
40+ RUN git clone --branch 7.6.1crxd https ://github.com/adamjhn /nrn.git
4141WORKDIR iv
4242RUN ./build.sh
43- RUN ./configure
43+ RUN ./configure --prefix="/home/jovyan/work/iv/"
4444RUN make --silent -j4
4545RUN make --silent install -j4
4646WORKDIR ../nrn
4747RUN ./build.sh
48- RUN ./configure --with-nrnpython=python2 --with-paranrn
48+ RUN ./configure --with-nrnpython=python2 --with-paranrn --prefix="/home/jovyan/work/nrn/" --with-iv="/home/jovyan/work/iv/"
4949RUN make --silent -j4
5050RUN make --silent install -j4
5151
@@ -58,6 +58,8 @@ RUN conda create --name snakes python=2
5858WORKDIR src/nrnpython
5959ENV PATH="/home/jovyan/work/nrn/x86_64/bin:${PATH}"
6060RUN /bin/bash -c "source activate snakes && python setup.py install"
61+ # Install Bokeh
62+ RUN /bin/bash -c "source activate snakes && conda install bokeh=0.12.7"
6163
6264# Clone NetPyNE-UI and install the development version
6365WORKDIR ../../../
@@ -66,6 +68,7 @@ RUN unzip $netpyneuiBranch.zip
6668WORKDIR NetPyNE-UI-$netpyneuiBranch/utilities
6769RUN /bin/bash -c "source activate snakes && python --version"
6870RUN /bin/bash -c "source activate snakes && exec python install.py"
69- RUN mkdir /home/jovyan/netpyne_workspace
71+ WORKDIR /home/jovyan
72+ RUN git clone https://github.com/Neurosim-lab/netpyne_workspace
7073WORKDIR /home/jovyan/netpyne_workspace
7174CMD /bin/bash -c "source activate snakes && exec jupyter notebook --debug --NotebookApp.default_url=/geppetto --NotebookApp.token=''"
0 commit comments