diff --git a/.github/workflows/container-publish.yml b/.github/workflows/container-publish.yml index 7bf21bb..956a6cf 100644 --- a/.github/workflows/container-publish.yml +++ b/.github/workflows/container-publish.yml @@ -23,10 +23,6 @@ jobs: fail-fast: false matrix: include: - - os: centos - version: 7 - context: centos-7 - file: centos-7/Containerfile - os: rockylinux version: 8 context: rockylinux-8 diff --git a/centos-7/Containerfile b/centos-7/Containerfile deleted file mode 100644 index 7483a8f..0000000 --- a/centos-7/Containerfile +++ /dev/null @@ -1,42 +0,0 @@ -FROM docker.io/library/centos:7 - -RUN yum update -y \ - && yum install -y \ - coreutils \ - cpio \ - dhclient \ - e2fsprogs \ - ethtool \ - findutils \ - initscripts \ - ipmitool \ - iproute \ - kernel \ - net-tools \ - network-scripts \ - nfs-utils \ - openssh-clients \ - openssh-server \ - pciutils \ - psmisc \ - rsync \ - rsyslog \ - strace \ - wget \ - which \ - words \ - && yum clean all \ - && sed -i -e '/^account.*pam_unix\.so\s*$/s/\s*$/\ broken_shadow/' /etc/pam.d/system-auth \ - && sed -i -e '/^account.*pam_unix\.so\s*$/s/\s*$/\ broken_shadow/' /etc/pam.d/password-auth \ - && rm -f /etc/sysconfig/network-scripts/ifcfg-e* \ - && systemctl unmask console-getty.service dev-hugepages.mount getty.target sys-fs-fuse-connections.mount systemd-logind.service systemd-remount-fs.service \ - && systemctl enable network - -COPY excludes /etc/warewulf/ -COPY container_exit.sh /etc/warewulf/ - -CMD [ "/bin/echo", "-e", \ - "This image is intended to be used with the Warewulf cluster management and", \ - "\nprovisioning system.", \ - "\n", \ - "\nFor more information about Warewulf, visit https://warewulf.org" ] diff --git a/centos-7/container_exit.sh b/centos-7/container_exit.sh deleted file mode 100755 index 22bdbf5..0000000 --- a/centos-7/container_exit.sh +++ /dev/null @@ -1,6 +0,0 @@ -#!/bin/sh -set -x -LANG=C -LC_CTYPE=C -export LANG LC_CTYPE -yum clean all diff --git a/centos-7/excludes b/centos-7/excludes deleted file mode 100644 index bf00703..0000000 --- a/centos-7/excludes +++ /dev/null @@ -1,2 +0,0 @@ -/boot/ -/usr/share/GeoIP