Skip to content
Snippets Groups Projects
Commit 71cf273e authored by Vladimir Kulikovskiy's avatar Vladimir Kulikovskiy
Browse files

Update km3sim:4.10.05

parent 8fbef94e
No related branches found
No related tags found
No related merge requests found
......@@ -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 && \
......
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