Temporarily adding the centos-8.def Singularity container build script

This commit is contained in:
Gregory Kurtzer
2021-04-23 21:29:11 -07:00
parent 19d4fec376
commit 2f923dbc08

17
centos-8.def Normal file
View File

@@ -0,0 +1,17 @@
BootStrap: yum
OSVersion: 8
MirrorURL: http://mirror.centos.org/centos-%{OSVERSION}/%{OSVERSION}/BaseOS/x86_64/os
Include: dnf
%post
sed -i 's/^root:.:/root::/g' /etc/passwd
dnf install -y basesystem bash chkconfig coreutils e2fsprogs \
ethtool filesystem findutils gawk grep initscripts iproute \
iputils net-tools nfs-utils pam psmisc rsync sed setup \
shadow-utils rsyslog tzdata util-linux words zlib tar less \
gzip which util-linux openssh-clients openssh-server dhclient \
pciutils vim-minimal shadow-utils strace cronie crontabs cpio \
wget centos-release ipmitool