Skip to content
Snippets Groups Projects
Commit 196aea6d authored by Tamas Gal's avatar Tamas Gal :speech_balloon:
Browse files

Add preliminary image with ROOT6 and Python3

parent f1d83e57
No related branches found
No related tags found
No related merge requests found
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 yum install -y centos-release-scl
RUN yum install -y rh-python36
RUN echo 'export LD_LIBRARY_PATH=/opt/rh/rh-python36/root/usr/lib64:$LD_LIBRARY_PATH' >> /etc/profile.d/python36.sh
RUN echo "export X_SCLS=rh-python36" >> /etc/profile.d/python36.sh
RUN echo 'export PATH=/opt/rh/rh-python36/root/usr/bin:$PATH' >> /etc/profile.d/python36.sh
RUN echo 'export XDG_DATA_DIRS=/opt/rh/rh-python36/root/usr/share:/usr/local/share:/usr/share' >> /etc/profile.d/python36.sh
RUN echo 'export PKG_CONFIG_PATH=/opt/rh/rh-python36/root/usr/lib64/pkgconfig' >> /etc/profile.d/python36.sh
RUN source /etc/profile.d/python36.sh && pip install -U pip setuptools
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.05 && source /etc/profile.d/python36.sh && cd /opt && wget https://root.cern.ch/download/root_v$ROOT_VERSION.source.tar.gz && tar xvzf root_v$ROOT_VERSION.source.tar.gz && cd root_v$ROOT_VERSION && mkdir obj && cd obj && cmake3 .. && cd
# RUN echo "source /usr/local/root/bin/thisroot.sh" >> /etc/bashrc
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment