From 27c92810fd6c13688eb311d4fd510c10a5b670e2 Mon Sep 17 00:00:00 2001
From: Tamas Gal <tgal@km3net.de>
Date: Wed, 13 Feb 2019 09:45:04 +0100
Subject: [PATCH] Add centos7 root6 py27 package

---
 base/centos-full-root6-py2:7 | 30 ++++++++++++++++++++++++++++++
 1 file changed, 30 insertions(+)
 create mode 100644 base/centos-full-root6-py2:7

diff --git a/base/centos-full-root6-py2:7 b/base/centos-full-root6-py2:7
new file mode 100644
index 0000000..05abdc0
--- /dev/null
+++ b/base/centos-full-root6-py2:7
@@ -0,0 +1,30 @@
+FROM centos:7.4.1708
+ MAINTAINER Tamas Gal <tgal@km3net.de>
+
+ RUN yum install -y man sed cygpath grep test && yum clean -y all
+ RUN yum install -y csh git subversion tar vim wget zsh && yum clean -y all
+ RUN yum install -y ant bison compat-gcc-34-g77 flex flex-devel gcc gcc-c++ gcc-gfortran gdb glibc-static make pakchois cmake boost-devel rpmdevtools && yum clean -y all
+ RUN yum install -y bzip2-devel gzip && yum clean -y all
+ RUN yum install -y fftw-devel libgpg-error libproxy openssh-server openssl-devel && yum clean -y all
+ RUN yum install -y gtk2-devel libX11  libX11-common libX11-devel libXext libXext-devel libXft libXft-devel libXpm libXpm-devel && yum clean -y all
+ RUN yum install -y doxygen texlive texlive-*.noarch && yum clean -y all
+
+ RUN curl -L http://proj-clhep.web.cern.ch/proj-clhep/DISTRIBUTION/tarFiles/clhep-2.2.0.8-x86_64-cc7-gcc48-opt.tgz > clhep.tgz && tar -C /usr/local/ --strip-components=1 -xvzf clhep.tgz
+
+ RUN wget http://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
+ RUN rpm -ivh epel-release-latest-7.noarch.rpm
+ RUN yum install -y cmake3
+ RUN rm -rf epel-release-latest-7.noarch.rpm
+
+ RUN export ROOT_VERSION=6.14.06 && \
+     cd /tmp && \
+     wget https://root.cern.ch/download/root_v$ROOT_VERSION.source.tar.gz && \
+     tar xvzf root_v$ROOT_VERSION.source.tar.gz && \
+     cd root-$ROOT_VERSION && \
+     mkdir obj && \
+     cd obj && cmake3 .. && \
+     make && \
+     cd .. && \
+     mv obj /opt/root-$ROOT_VERSION && \
+     rm -rf /tmp/root* && \
+     echo "cd /opt/root-$ROOT_VERSION && source bin/thisroot.sh && cd" >> /etc/profile.d/root_env.sh && cd
-- 
GitLab