-
Notifications
You must be signed in to change notification settings - Fork 1
/
Dockerfile
56 lines (52 loc) · 1.2 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
FROM ubuntu:14.04
ENV DEBIAN_FRONTEND=noninteractive
RUN apt-get update \
&& apt-get install -yq \
cmake \
curl \
g++ \
git \
graphviz-dev \
libcfitsio3-dev \
libfftw3-dev \
libftgl-dev \
libglew-dev \
libglu1-mesa-dev \
libgsl0-dev \
libjpeg-dev \
libkrb5-dev \
libldap2-dev \
libmysqlclient-dev \
libpcre3-dev \
libpng-dev \
libqt4-dev \
libqt4-opengl-dev \
libssl-dev \
libtbb-dev \
libx11-dev \
libxext-dev \
libxft-dev \
libxi-dev \
libxml2-dev \
libxmu-dev \
libxpm-dev \
libxt-dev \
make \
python-dev \
rsync \
tcl \
wget
RUN mkdir -p /opt \
&& curl -sL https://root.cern/download/root_v5.34.38.Linux-ubuntu14-x86_64-gcc4.8.tar.gz | tar -C /opt -zxf - \
&& curl -sL https://pythia.org/download/pythia82/pythia8245.tgz | tar -C /opt -zxf - \
&& cd /opt/pythia8245 \
&& ./configure --prefix=/opt/pythia \
&& make install \
&& cd - \
&& rm -rf /opt/pythia8245
ENV ROOTSYS=/opt/root
ENV PATH=$ROOTSYS/bin:$PATH
ENV PYTHONPATH=$ROOTSYS/lib:$PYTHONPATH
ENV LD_LIBRARY_PATH=$ROOTSYS/lib:$LD_LIBRARY_PATH
ENV PYTHIA8=/opt/pythia
ENV LD_LIBRARY_PATH=$PYTHIA8/lib:$LD_LIBRARY_PATH