Commit 6b11efaa authored by Evgeny Lavrik's avatar Evgeny Lavrik
Browse files

Update FairRoot.Dockerfile

parent b7b32c12
......@@ -34,8 +34,8 @@ ENV PATH="/opt/cmake-3.16.4/bin:${PATH}"
#
WORKDIR /tmp/fairsoft-build
ADD ./fairsoft.conf ./fairsoft.conf
# RUN git clone https://github.com/FairRootGroup/FairSoft.git -b jun19p2 FairSoft && cd FairSoft && \
# ./configure.sh ../fairsoft.conf && ./make_clean.sh all && rm -rf /tmp/fair*
RUN git clone https://github.com/FairRootGroup/FairSoft.git -b jun19p2 FairSoft && cd FairSoft && \
./configure.sh ../fairsoft.conf && ./make_clean.sh all && rm -rf /tmp/fair*
ENV SIMPATH="/opt/fairsoft_jun19p2"\
G4INCLDATA="/opt/fairsoft_jun19p2/share/Geant4-10.5.1/data/G4INCL1.0"\
......@@ -56,11 +56,9 @@ ENV PATH="${SIMPATH}/bin:${PATH}"
# FairRoot
#
WORKDIR /tmp/fairroot-build
# RUN git clone https://github.com/FairRootGroup/FairRoot.git -b v18.2.1 FairRoot && \
# mkdir -vp FairRoot_build && cmake -S FairRoot -B FairRoot_build -DCMAKE_INSTALL_PREFIX=/opt/fairroot_v18.2.1 && \
# make -C FairRoot_build -j2 install && \
# rm -r FairRoot_build && rm -rf /tmp/fair*
RUN git clone https://github.com/FairRootGroup/FairRoot.git -b v18.2.1 FairRoot && \
mkdir -vp FairRoot_build && cmake -S FairRoot -B FairRoot_build -DCMAKE_INSTALL_PREFIX=/opt/fairroot_v18.2.1 && \
make -C FairRoot_build -j2 install && \
rm -r FairRoot_build && rm -rf /tmp/fair*
ENV FAIRROOTPATH=/opt/fairroot_v18.2.1
RUN source /opt/fairroot_v18.2.1/bin/FairRootConfig.sh
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment