-
Notifications
You must be signed in to change notification settings - Fork 3
/
Dockerfile
58 lines (53 loc) · 1.86 KB
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
FROM ubuntu:15.04
MAINTAINER Tom <tmbdev@gmail.com>
ENV DEBIAN_FRONTEND noninteractive
ENV PATH /usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:.
RUN apt-get -qq update
RUN apt-get -qq update
RUN apt-get -qqy install apt-utils
RUN apt-get -qqy install git
RUN apt-get -qqy install curl
RUN apt-get -qqy install wget
RUN apt-get -qqy install unzip
RUN apt-get -qqy install git-core
RUN apt-get -qqy install build-essential
RUN apt-get -qqy install gcc
RUN apt-get -qqy install g++
RUN apt-get -qqy install cmake
RUN apt-get -qqy install gdb
RUN apt-get -qqy install libreadline-dev
RUN apt-get -qqy install python
RUN apt-get -qqy install groff
WORKDIR /tmp
RUN git clone http://root.cern.ch/git/llvm.git src
WORKDIR /tmp/src
RUN git checkout cling-patches
WORKDIR /tmp/src/tools
RUN git clone http://root.cern.ch/git/cling.git
RUN git clone http://root.cern.ch/git/clang.git
WORKDIR /tmp/src/tools/clang
RUN git checkout cling-patches
WORKDIR /tmp/src
RUN ./configure --enable-cxx11
RUN make
RUN make install
RUN apt-get -qqy install python-pip
RUN apt-get -qqy install libzmq3-dev libcurl4-openssl-dev
RUN apt-get -qqy install python-dev
RUN apt-get -qqy install cython
RUN pip install ipython[notebook]
RUN apt-get -qqy install libeigen3-dev
# This isn't quite working yet because clingkernel is written
# to a newer API than what pip install ipython[notebook] installs.
#WORKDIR /tmp
#RUN git clone https://github.com/minrk/clingkernel.git
#RUN cd clingkernel && python setup.py install
#RUN pip install ipython-extensions
#RUN pip install ipython-helpers
#RUN pip install metakernel
#ADD logo-64x64.png /usr/local/lib/python2.7/dist-packages/metakernel/images/logo-64x64.png
#ADD logo-32x32.png /usr/local/lib/python2.7/dist-packages/metakernel/images/logo-32x32.png
#RUN pip install metakernel_bash
#RUN pip install metakernel_python
#RUN cd clingkernel && ipython kernelspec install cling
EXPOSE 8888