forked from ecell/ecell4_base
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile
More file actions
18 lines (13 loc) · 1.03 KB
/
Dockerfile
File metadata and controls
18 lines (13 loc) · 1.03 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
FROM ubuntu:14.04
RUN apt-get update
# RUN apt-get install -y g++ python-dev libboost-dev libgsl0-dev libhdf5-serial-dev pkg-config cython python-pip git libboost-test-dev python-zmq python-matplotlib libboost-regex-dev
# RUN pip install ipython jinja2 tornado
# RUN cd /; git clone git://github.com/ecell/ecell4
# RUN cd /ecell4; PREFIX=/usr/local PYTHONPATH=/usr/local/lib/python2.7/dist-packages bash /ecell4/install.sh core core_python gillespie gillespie_python ode ode_python lattice lattice_python util_python bd bd_python
RUN apt-get install -y git cmake g++ libboost-dev libgsl0-dev libhdf5-serial-dev libboost-regex-dev python python-numpy python-scipy cython python-pip python-zmq python-matplotlib
RUN cd /; git clone git://github.com/ecell/ecell4
RUN cd /ecell4; CPLUS_INCLUDE_PATH=/usr/include cmake .; make; make install
RUN cd /ecell4/python; python setup.py install
RUN cd /; pip install "ipython[notebook]"
EXPOSE 8888
CMD LD_LIBRARY_PATH=/usr/local/lib ipython notebook --notebook-dir='/ecell4/ipynb' --no-browser --ip='*' --port 8888