Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
KM3BUU
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
simulation
KM3BUU
Commits
c5188c27
Commit
c5188c27
authored
4 years ago
by
Johannes Schumann
Browse files
Options
Downloads
Patches
Plain Diff
Add env vars to image and remove not needed ROOT files
parent
ec762ce0
No related branches found
Branches containing commit
Tags
v0.1
Tags containing commit
No related merge requests found
Pipeline
#13567
passed
4 years ago
Stage: docker
Stage: release
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
Dockerfile
+9
-11
9 additions, 11 deletions
Dockerfile
km3buu.Singularity
+2
-2
2 additions, 2 deletions
km3buu.Singularity
with
11 additions
and
13 deletions
Dockerfile
+
9
−
11
View file @
c5188c27
...
...
@@ -18,20 +18,18 @@ RUN export PATH=/opt/cmake-3.18/bin:$PATH && \
mkdir
-p
obj
&&
\
cd
obj
&&
\
cmake
-DCMAKE_INSTALL_PREFIX
=
/usr/local
-Dpyroot
=
OFF
-Dpyroot_experimental
=
OFF
-Dx11
=
OFF
-Dxft
=
OFF ..
&&
\
make
-j4
&&
\
make
install
make
-j4
;
make
install
&&
\
rm
-rf
/opt/root-6.20.04
*
RUN
cd
/opt
&&
\
wget http://www.hepforge.org/archive/roottuple/RootTuple-1.0.0.tar.gz
&&
\
tar
-xzvf
RootTuple-1.0.0.tar.gz
&&
\
wget http://www.hepforge.org/archive/roottuple/RootTuple-1.0.0.tar.gz
&&
\
tar
-xzvf
RootTuple-1.0.0.tar.gz
&&
\
cd
RootTuple-1.0.0
&&
\
sed
-i
's/SHARED/STATIC/g'
./src/CMakeLists.txt
&&
\
sed
-i
's/SHARED/STATIC/g'
./src/CMakeLists.txt
&&
\
sed
-i
'$d'
./CMakeLists.txt
&&
\
mkdir
build
;
cd
build
&&
\
cmake
-DCMAKE_INSTALL_PREFIX
=
/usr/local ..
&&
\
make
&&
\
make
install
cmake
-DCMAKE_INSTALL_PREFIX
=
/usr/local ..
&&
\
make
;
make
install
RUN
cd
/opt
&&
\
wget https://gibuu.hepforge.org/downloads?f
=
buuinput2019.tar.gz
&&
\
...
...
@@ -44,5 +42,5 @@ RUN cd /opt && \
make
-j
withROOT
=
1
&&
\
rm
-rf
/opt/
*
.tar.gz
ENV
CONTAINER_GIBUU_EXEC=/opt/release2019/objects/GiBUU.x
ENV
CONTAINER_GIBUU_EXEC=/opt/release2019/objects/GiBUU.x
ENV
LD_LIBRARY_PATH=/usr/local/lib
This diff is collapsed.
Click to expand it.
km3buu.Singularity
+
2
−
2
View file @
c5188c27
...
...
@@ -20,7 +20,6 @@ From: debian:stretch
cmake -DCMAKE_INSTALL_PREFIX=/usr/local -Dpyroot=OFF -Dpyroot_experimental=OFF -Dx11=OFF -Dxft=OFF .. && \
make -j4; make install
cd /opt && \
wget http://www.hepforge.org/archive/roottuple/RootTuple-1.0.0.tar.gz && \
tar xvzf RootTuple-1.0.0.tar.gz && \
...
...
@@ -42,7 +41,8 @@ From: debian:stretch
rm -rf /opt/*.tar.gz
%environment
export CONTAINER_GIBUU_EXEC=/opt/release2019/objects/GiBUU.x
export CONTAINER_GIBUU_EXEC=/opt/release2019/objects/GiBUU.x && \
export LD_LIBRARY_PATH=/usr/local/lib
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment