-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDockerfile
32 lines (24 loc) · 1.12 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
FROM centos:latest
MAINTAINER Henry Scheiner <[email protected]>
# Updated base dist 2017-02-14
RUN yum -y install epel-release
RUN yum -y install bzip2 vim libpng libjpeg python-pip python-numpy python-pandas python-jupyter \
git cmake3 gcc-c++ gcc binutils make ninja-build \
libX11-devel libXpm-devel libXft-devel libXext-devel \
gcc-gfortran openssl-devel pcre-devel \
mesa-libGL-devel mesa-libGLU-devel glew-devel ftgl-devel mysql-devel \
fftw-devel cfitsio-devel graphviz-devel \
avahi-compat-libdns_sd-devel libldap-dev python-devel \
libxml2-devel gsl-static && yum -y clean all
RUN pip install --upgrade pip
ARG version="6.08.04"
LABEL description="CERN ROOT framework - development"
LABEL version="${version}"
ENV ROOTSYS "/opt/root"
ENV PATH "$ROOTSYS/bin:$PATH"
ENV LD_LIBRARY_PATH "$ROOTSYS/lib:$LD_LIBRARY_PATH"
ENV PYTHONPATH "$ROOTSYS/lib:PYTHONPATH"
ADD https://root.cern.ch/download/root_v${version}.Linux-centos7-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 ln -s /usr/bin/cmake3 /usr/bin/cmake
RUN pip install rootpy