Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Eoin Clerkin
cbmroot-hub
Commits
6b11efaa
Commit
6b11efaa
authored
Apr 27, 2020
by
Evgeny Lavrik
Browse files
Update FairRoot.Dockerfile
parent
b7b32c12
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
8 deletions
+6
-8
FairRoot.Dockerfile
FairRoot.Dockerfile
+6
-8
No files found.
FairRoot.Dockerfile
View file @
6b11efaa
...
...
@@ -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
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment