-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathsingularity.def
48 lines (41 loc) · 969 Bytes
/
singularity.def
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
Bootstrap: library
From: rockylinux:8
%post
yum install -y \
make \
libX11-devel.x86_64 \
libXpm-devel.x86_64 \
libXft-devel.x86_64 \
libXext-devel.x86_64 \
libXmu-devel.x86_64 \
libxml2-devel.x86_64 \
binutils \
qt5-qtbase-devel.x86_64 \
git \
cmake \
wget \
mesa-libGLU-devel.x86_64 \
python3-devel \
which nano \
tar \
gdb vim valgrind zip tmux git-lfs patch openssl-devel fftw3-devel libtsan # optional, for easier debugging
mkdir /software
%environment
export USE_RTK=ON
# GATE_ROOT_DIR contains all the
# - sources (src),
# - compilation artifacts (bin) and
# - installation files (install)
# of all the dependencies:
# - CLHEP
# - Geant4
# - ITK
# - ROOT
# - GATE itself
# Preferably this is /software inside the container, and
# linked to a directory on the host system.
export GATE_ROOT_DIR=/software
export PATH=/software/cmake-3.18.4-Linux-x86_64/bin/:$PATH
%runscript
. /software/scripts/source-dep.sh
/bin/bash