-
Notifications
You must be signed in to change notification settings - Fork 1
/
root6-cernlib-centos8stream.def
45 lines (30 loc) · 1.16 KB
/
root6-cernlib-centos8stream.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
Bootstrap: docker
From: quay.io/centos/centos:stream8
# Centos 8 stream with root6 and cernlib
%help
Centos 8 stream singularity container with root6 and cernlib
%post
echo "Installing the packages inside the container"
# Configure yum/dnf
yum -y install 'dnf-command(config-manager)'
yum -y config-manager --set-enabled powertools
# EPEL
yum -y install epel-release
yum -y update
# Login to cern from container if needed (cern-krb5-conf-atlas broken in cc8s)
# yum -y install krb5-workstation cern-krb5-conf-atlas
# Various development tools
echo "Installing Development tools"
yum -y groupinstall "Development Tools"
yum -y install cmake gcc-gfortran libgfortran*
# Some helpers
yum -y install redhat-lsb-core libuuid-devel nano wget which
# root from CERN
yum -y install root* python3-root
# Andriis COPR HEPrpms, cernlib with some extra dependencies
yum -y install yum-plugin-copr
yum -y copr enable averbyts/HEPrpms
yum -y install libXft* libXpm* libSM* libICE* libXext*
yum -y install cernlib* paw* patchy*
# Can bind-mount cvmfs from host if available
mkdir /cvmfs