-
Notifications
You must be signed in to change notification settings - Fork 1
/
root6-centos8stream-yum.def
37 lines (26 loc) · 1.06 KB
/
root6-centos8stream-yum.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
Bootstrap: yum
OSVersion: 8-stream
MirrorURL: http://mirror.centos.org/centos/%{OSVERSION}/BaseOS/x86_64/os/
Include: yum
%help
Centos8 stream container from yum bootstrap with root6
%post
echo "Installing the packages inside the container"
# echo "In yum bootstrap with --fakeroot filesystem fails, workaround"
# yum -y install filesystem || (exit 0)
yum -y install 'dnf-command(config-manager)'
yum -y config-manager --set-enabled powertools
# EPEL
yum -y install epel-release
# cvmfs in container if not on host, can be slow, also depends on host allowing fuse.
# yum -y install https://ecsft.cern.ch/dist/cvmfs/cvmfs-release/cvmfs-release-latest.noarch.rpm
# 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
# Can bind-mount cvmfs from host if available
mkdir /cvmfs