diff --git a/base/km3sim:4.10.05 b/base/km3sim:4.10.05 index 89a695b4058a7eff6ba29110bb5d58d7e71701f6..dd31ccf73fcb2d0caffd788c3d2bb57e3ecd3955 100644 --- a/base/km3sim:4.10.05 +++ b/base/km3sim:4.10.05 @@ -16,8 +16,25 @@ FROM docker.km3net.de/base/centos-full:7 cmake -DCMAKE_INSTALL_PREFIX=/usr/local/geant4.10.05_install -DGEANT4_USE_GDML=ON -DGEANT4_INSTALL_DATA=ON -DXERCESC_INCLUDE_DIR=/usr/include/xercesc/ -DXERCESC_LIBRARY=/usr/lib64/ ../geant4.10.05 && \ make -j4 > make.log && make install > make_install.log && cd .. && rm -rf geant4.10.05_build geant4.10.05 RUN echo "export G4DIR=/usr/local/geant4.10.05_install" >> /etc/bashrc - - # ROOT6 + +#python 3.6 installtion for ROOT + 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 + +#cmake3 installation for ROOT + 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 + + +# ROOT6 RUN export ROOT_VERSION=6.18.04 && \ source /etc/profile.d/python36.sh && \ cd /tmp && \