Skip to content
Snippets Groups Projects
Forked from an inaccessible project.
centos-full-root6-py2:7 1.54 KiB
FROM docker.km3net.de/base/centos:7
 MAINTAINER Tamas Gal <tgal@km3net.de>

 RUN yum install -y man sed cygpath grep test && yum clean -y all
 RUN yum install -y csh tar vim zsh && yum clean -y all
 RUN yum install -y compat-gcc-34-g77 flex pakchois 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 && 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 yum install -y python-devel && yum clean -y all

 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