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

Single installation should be a shell one liner,

otherwise the cache is cleaned
parent 613e8162
No related branches found
No related tags found
No related merge requests found
......@@ -22,5 +22,7 @@ FROM docker.km3net.de/base/centos-full:7
# Make Geant4
RUN yum install -y libX11-devel libXmu-devel motif motif-devel
RUN cd $HOME/OMGsim && wget http://cern.ch/geant4-data/releases/geant4.10.01.p03.tar.gz && tar xf geant4.10.01.p03.tar.gz
RUN mkdir geant4.10.01.p03-build && cd geant4.10.01.p03-build && cmake -DCMAKE_INSTALL_PREFIX=../geant4.10.01.p03-install ../geant4.10.01.p03 -DGEANT4_INSTALL_DATA=ON -DGEANT4_USE_XM=ON && make -j4 install > /dev/null
RUN cd $HOME/OMGsim && wget http://cern.ch/geant4-data/releases/geant4.10.01.p03.tar.gz && tar xf geant4.10.01.p03.tar.gz && \
mkdir geant4.10.01.p03-build && cd geant4.10.01.p03-build && \
cmake -DCMAKE_INSTALL_PREFIX=../geant4.10.01.p03-install ../geant4.10.01.p03 -DGEANT4_INSTALL_DATA=ON -DGEANT4_USE_XM=ON && \
make -j4 install > /dev/null
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