Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
Dockerfiles
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
Aart Heijboer
Dockerfiles
Commits
7a0610f1
Commit
7a0610f1
authored
6 years ago
by
Vladimir Kulikovskiy
Browse files
Options
Downloads
Patches
Plain Diff
Machine for OMGsim compillation prepared
parent
b10efa01
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
base/omgsim:4.10.01
+27
-0
27 additions, 0 deletions
base/omgsim:4.10.01
with
27 additions
and
0 deletions
base/omgsim:4.10.01
0 → 100644
+
27
−
0
View file @
7a0610f1
FROM docker.km3net.de/base/centos-full:7
MAINTAINER Vladimir Kulikovskiy <vkulikovskiy@km3net.de>
# install GCC v5
# add additional repo
yum install -y centos-release-scl
# get devtoolset from this repo
yum install -y devtoolset-4-gcc* devtoolset-4-gcc-gfortran devtoolset-4-binutils
. /opt/rh/devtoolset-4/enable
# create folder for additional non-standard CentOS7 software
mkdir $HOME/OMGsim
# Make libconfig
cd $HOME/OMGsim && wget https://hyperrealm.github.io/libconfig/dist/libconfig-1.7.2.tar.gz && tar xf libconfig-1.7.2.tar.gz -C /tmp && rm libconfig-1.7.2.tar.gz
export LIBCONFIG_ROOT=`pwd`/libconfig-1.7.2 && cd /tmp/libconfig-1.7.2/ && ./configure --prefix $LIBCONFIG_ROOT && make && make install && cd -
rm -rf /tmp/libconfig-1.7.2/
export LD_LIBRARY_PATH=${LIBCONFIG_ROOT}/lib:${LD_LIBRARY_PATH}
export CPLUS_INCLUDE_PATH=${LIBCONFIG_ROOT}/include
# Make Geant4
yum install -y libX11-devel libXmu-devel motif motif-devel
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
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