Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
B
BaseImage
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
EIC
BaseImage
Commits
7c9da198
Commit
7c9da198
authored
May 14, 2018
by
David Blyth
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Stripped all simulation-oriented stuff, and tweaked convenience apps
parent
28633df5
Pipeline
#547
passed with stages
in 18 minutes and 24 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
134 deletions
+9
-134
Dockerfile
Dockerfile
+9
-134
No files found.
Dockerfile
View file @
7c9da198
...
@@ -53,6 +53,7 @@ RUN git clone http://root.cern.ch/git/root.git \
...
@@ -53,6 +53,7 @@ RUN git clone http://root.cern.ch/git/root.git \
-DCMAKE_INSTALL_PREFIX
=
/usr/local
\
-DCMAKE_INSTALL_PREFIX
=
/usr/local
\
-DCMAKE_BUILD_TYPE
=
Release
\
-DCMAKE_BUILD_TYPE
=
Release
\
-Dbuiltin_glew
=
OFF
\
-Dbuiltin_glew
=
OFF
\
-Dbuildtin_llvm
=
OFF
\
-Dgdml
=
ON
\
-Dgdml
=
ON
\
-Dgsl_shared
=
ON
\
-Dgsl_shared
=
ON
\
-Dmathmore
=
ON
\
-Dmathmore
=
ON
\
...
@@ -70,113 +71,6 @@ ENV PATH=/usr/local/bin:${PATH} \
...
@@ -70,113 +71,6 @@ ENV PATH=/usr/local/bin:${PATH} \
ROOTSYS=/usr/local \
ROOTSYS=/usr/local \
MANPATH=/usr/local/man
MANPATH=/usr/local/man
# CLHEP
ENV
CLHEP_RELEASE=CLHEP_2_3_4_5
RUN
git clone https://gitlab.cern.ch/CLHEP/CLHEP.git
\
&&
cd
CLHEP
\
&&
git checkout tags/
$CLHEP_RELEASE
\
&&
mkdir
build
\
&&
cd
build
\
&&
cmake
\
-DCMAKE_INSTALL_PREFIX
=
/usr/local/
\
-DCMAKE_BUILD_TYPE
=
Release
\
../
\
&&
make
-j
$BUILD_THREADS
\
&&
sudo
make
install
\
&&
cd
../../
\
&&
rm
-rf
CLHEP
# GEANT4
ENV
GEANT4_VERSION=10.4.1
RUN
sudo
pacman
-S
--noconfirm
\
xerces-c
\
&&
sudo rm
-rf
/var/cache/pacman/pkg
RUN
git clone https://github.com/Geant4/geant4.git
\
&&
cd
geant4
\
&&
git checkout tags/v
$GEANT4_VERSION
\
&&
mkdir
build
\
&&
cd
build
\
&&
cmake
\
-DCMAKE_INSTALL_PREFIX
=
/usr/local/
\
-DCMAKE_BUILD_TYPE
=
Release
\
-DGEANT4_BUILD_MULTITHREADED
=
ON
\
-DGEANT4_BUILD_TLS_MODEL
=
global-dynamic
\
-DGEANT4_INSTALL_DATA
=
ON
\
-DGEANT4_USE_GDML
=
ON
\
-DGEANT4_USE_SYSTEM_CLHEP
=
ON
\
../
\
&&
make
-j
$BUILD_THREADS
\
&&
sudo
make
install
\
&&
cd
../../
\
&&
rm
-rf
geant4
ENV
LD_LIBRARY_PATH=/usr/local/lib64:${LD_LIBRARY_PATH} \
GEANT4_DATA_DIRECTORY=/usr/local/share/Geant4-${GEANT4_VERSION}/data
ENV
G4NEUTRONHPDATA=${GEANT4_DATA_DIRECTORY}/G4NDL4.5 \
G4LEDATA=${GEANT4_DATA_DIRECTORY}/G4EMLOW7.3 \
G4LEVELGAMMADATA=${GEANT4_DATA_DIRECTORY}/PhotonEvaporation5.2 \
G4RADIOACTIVEDATA=${GEANT4_DATA_DIRECTORY}/RadioactiveDecay5.2 \
G4NEUTRONXSDATA=${GEANT4_DATA_DIRECTORY}/G4NEUTRONXS1.4 \
G4PIIDATA=${GEANT4_DATA_DIRECTORY}/G4PII1.3 \
G4REALSURFACEDATA=${GEANT4_DATA_DIRECTORY}/RealSurface2.1 \
G4SAIDXSDATA=${GEANT4_DATA_DIRECTORY}/G4SAIDDATA1.1 \
G4ABLADATA=${GEANT4_DATA_DIRECTORY}/G4ABLA3.1 \
G4ENSDFSTATEDATA=${GEANT4_DATA_DIRECTORY}/G4ENSDFSTATE2.2
# LCIO
ENV
LCIO_RELEASE=v02-08
RUN
git clone https://github.com/iLCSoft/LCIO.git
\
&&
cd
LCIO
\
&&
git checkout tags/
$LCIO_RELEASE
\
&&
cd
../
\
&&
mkdir
build
\
&&
cd
build
\
&&
cmake
\
-DCMAKE_INSTALL_PREFIX
=
/usr/local
\
-DCMAKE_BUILD_TYPE
=
Release
\
-DBUILD_ROOTDICT
=
ON
\
../LCIO
\
&&
make
-j
$BUILD_THREADS
\
&&
sudo
make
install
\
&&
cd
../
\
&&
rm
-rf
build LCIO
ENV
ROOT_INCLUDE_PATH=/usr/local:/usr/local/include
# DD4hep
ENV
DD4HEP_CHECKOUT=66153bb62344b4509e00ee94cced61f14eeadd59 \
DD4HEP_REPO=https://github.com/decibelcooper/DD4hep.git
RUN
sudo
pacman
-S
--noconfirm
\
boost
\
&&
sudo rm
-rf
/var/cache/pacman/pkg
RUN
git clone
$DD4HEP_REPO
\
&&
cd
DD4hep
\
&&
git checkout
$DD4HEP_CHECKOUT
\
&&
cd
..
\
&&
mkdir
build
\
&&
cd
build
\
&&
cmake
\
-DCMAKE_INSTALL_PREFIX
=
/usr/local
\
-DDD4HEP_USE_GEANT4
=
ON
\
-DDD4HEP_USE_LCIO
=
ON
\
-DDD4HEP_USE_XERCESC
=
ON
\
../DD4hep
\
&&
make
-j
$BUILD_THREADS
\
&&
sudo
make
install
\
&&
cd
..
\
&&
rm
-rf
build DD4hep
ENV
DD4hepINSTALL=/usr/local \
DD4hep_ROOT=/usr/local \
DD4hep_DIR=/usr/local \
PYTHONPATH=/usr/local/python:${PYTHONPATH}
# Protobuf
# Protobuf
RUN
sudo
pacman
-S
--noconfirm
\
RUN
sudo
pacman
-S
--noconfirm
\
protobuf
\
protobuf
\
...
@@ -229,42 +123,23 @@ RUN sudo mkdir $GOPATH \
...
@@ -229,42 +123,23 @@ RUN sudo mkdir $GOPATH \
&&
cd
\
&&
cd
\
&&
rm
-rf
$GOPATH
/src
&&
rm
-rf
$GOPATH
/src
# GenFit
ENV
GENFIT_CHECKOUT=70c408ff7424bdfd572ddc175b9673e8a1e91bbb \
GENFIT_PATH=/opt/GenFit
RUN
sudo
pacman
-S
--noconfirm
\
eigen
\
&&
sudo rm
-rf
/var/cache/pacman/pkg
RUN
git clone https://github.com/GenFit/GenFit.git
$GENFIT_PATH
\
&&
cd
$GENFIT_PATH
\
&&
git checkout
$GENFIT_CHECKOUT
\
&&
mkdir
build
\
&&
cd
build
\
&&
cmake
\
-DCMAKE_BUILD_TYPE
=
Release
\
../
\
&&
make
-j
$BUILD_THREADS
\
&&
make
install
\
&&
cd
../
\
&&
rm
-rf
build
ENV
ROOT_INCLUDE_PATH=/usr/include/eigen3:${ROOT_INCLUDE_PATH} \
LD_LIBRARY_PATH=/opt/GenFit/lib:${LD_LIBRARY_PATH}
# Convenience tools
# Convenience tools
RUN
sudo
pacman
-S
--noconfirm
\
RUN
sudo
pacman
-S
--noconfirm
\
emacs
\
gdb
\
gdb
\
mesa-demos
\
ipython
\
ipython
\
ipython2
\
ipython2
\
mesa-demos
\
man-db
\
man-pages
\
nano
\
openssh
\
openssh
\
procps-ng
\
procps-ng
\
tigervnc
\
vi
\
vim
\
vim
\
wget
\
wget
\
which
\
which
\
x
fce4
\
x
org-server-xvfb
\
&&
sudo rm
-rf
/var/cache/pacman/pkg
&&
sudo rm
-rf
/var/cache/pacman/pkg
ENV
MANPATH=""
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