forked from mickypaganini/btagging
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile
70 lines (61 loc) · 1.7 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
59
60
61
62
63
64
65
66
67
68
69
70
FROM andrewosh/binder-base
MAINTAINER Luke de Oliveira <lukedeo@ldo.io>
USER root
RUN apt-get -qq update && apt-get -y --force-yes install \
build-essential \
python-dev \
libxpm-dev \
libxft-dev \
libxext-dev \
libpng3 \
gfortran \
libssl-dev \
libpcre3-dev \
libgl1-mesa-dev \
libglew1.5-dev \
libftgl-dev \
libmysqlclient-dev \
libfftw3-dev \
libcfitsio3-dev \
graphviz-dev \
libavahi-compat-libdnssd-dev \
libldap2-dev \
libxml2-dev \
bc \
curl \
git \
libfreetype6-dev \
libpng12-dev \
libzmq3-dev \
pkg-config \
python-dev \
python-pip \
python-numpy \
python-scipy \
libhdf5-serial-dev \
&& \
apt-get clean && \
rm -rf /var/lib/apt/lists/*
# Set ROOT environment
ENV ROOTSYS "/opt/root"
ENV PATH "$ROOTSYS/bin:$ROOTSYS/bin/bin:$PATH"
ENV LD_LIBRARY_PATH "$ROOTSYS/lib:$LD_LIBRARY_PATH"
ENV PYTHONPATH "$ROOTSYS/lib:PYTHONPATH"
# Install Keras.
#RUN pip install --no-cache-dir \
# git+https://github.com/fchollet/keras
ADD https://root.cern.ch/download/root_v5.34.32.Linux-ubuntu14-x86_64-gcc4.8.tar.gz /var/tmp/root.tar.gz
RUN tar xzf /var/tmp/root.tar.gz -C /opt && rm /var/tmp/root.tar.gz
#RUN pip install --no-cache-dir \
# git+https://github.com/mickypaganini/YaleATLAS
RUN pip install --no-cache-dir \
scikit-learn \
h5py \
pandas \
matplotlib \
root-numpy \
rootpy \
tqdm \
deepdish
#ENV KERAS_BACKEND "theano"
RUN rm -fr /tmp/* /var/tmp/*