diff --git a/base/km3sim:4.10.05 b/base/km3sim:4.10.05 index 640493e62712bff90fc5cfcf4c619b41d762f95b..b3973faea9c7149cb56b6a4bbbfe602eb5fb218d 100644 --- a/base/km3sim:4.10.05 +++ b/base/km3sim:4.10.05 @@ -15,4 +15,19 @@ FROM docker.km3net.de/base/centos-full:7 mkdir geant4.10.05_build && mkdir /usr/local/geant4.10.05_install && cd geant4.10.05_build && \ 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 \ No newline at end of file + RUN echo "export G4DIR=/usr/local/geant4.10.05_install" >> /etc/bashrc + + # ROOT6 + RUN export ROOT_VERSION=6.14.06 && \ + source /etc/profile.d/python36.sh && \ + 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