diff --git a/.github/workflows/main.yaml b/.github/workflows/main.yaml index d9c6742..97876bd 100644 --- a/.github/workflows/main.yaml +++ b/.github/workflows/main.yaml @@ -17,8 +17,6 @@ jobs: - "almalinux-9" - "amazonlinux-2" - "amazonlinux-2023" - - "centos-7" - - "centos-8" - "centos-stream-9" - "debian-11" - "debian-12" diff --git a/centos-7/Dockerfile b/centos-7/Dockerfile deleted file mode 100644 index 796f2f7..0000000 --- a/centos-7/Dockerfile +++ /dev/null @@ -1,68 +0,0 @@ -FROM centos:7 -LABEL maintainer="sean@sean.io" -ARG BUILD_DATE -ARG VCS_REF - -LABEL org.opencontainers.image.created=$BUILD_DATE -LABEL org.opencontainers.image.title="test-kitchen/dokken-images" -LABEL org.opencontainers.image.description="A Docker container for testing centos-7" -LABEL org.opencontainers.image.source="https://github.com/test-kitchen/dokken-images" -LABEL org.opencontainers.image.revision=$VCS_REF -LABEL org.opencontainers.image.vendor="test-kitchen" -LABEL org.opencontainers.image.licenses="Apache-2.0" - -# hadolint ignore=DL3033 -RUN yum -y install yum-plugin-copr && \ - yum -y copr enable jsynacek/systemd-backports-for-centos-7 && \ - yum -y update systemd && \ - yum -y install \ - binutils \ - ca-certificates \ - cronie \ - curl \ - dmidecode \ - e2fsprogs \ - ethtool \ - file \ - gnupg2 \ - hostname \ - initscripts \ - iproute \ - iptables \ - iputils \ - less \ - lsof \ - nc \ - net-tools \ - nmap \ - openssl \ - passwd \ - procps \ - strace \ - sudo \ - system-lsb-core \ - systemd-sysv \ - tcpdump \ - telnet \ - util-linux \ - vim-minimal \ - wget \ - which && \ - yum upgrade -y && \ - yum clean all && \ - rm -rf /var/cache/yum && \ - rm -rf /var/log/* && \ - # Don't start any optional services. - find /etc/systemd/system \ - /lib/systemd/system \ - -path '*.wants/*' \ - \( -name '*getty*' \ - -or -name '*systemd-logind*' \ - -or -name '*systemd-vconsole-setup*' \ - -or -name '*systemd-readahead*' \ - -or -name '*udev*' \) \ - -exec rm -v {} \; && \ - systemctl set-default multi-user.target && \ - systemctl mask dev-hugepages.mount sys-fs-fuse-connections.mount network.service - -CMD [ "/usr/lib/systemd/systemd" ] diff --git a/centos-8/Dockerfile b/centos-8/Dockerfile deleted file mode 100644 index 8bd1e13..0000000 --- a/centos-8/Dockerfile +++ /dev/null @@ -1,70 +0,0 @@ -FROM centos:8 -LABEL maintainer="tim@mondoo.com" -ARG BUILD_DATE -ARG VCS_REF - -LABEL org.opencontainers.image.created=$BUILD_DATE -LABEL org.opencontainers.image.title="test-kitchen/dokken-images" -LABEL org.opencontainers.image.description="A Docker container for testing centos-8" -LABEL org.opencontainers.image.source="https://github.com/test-kitchen/dokken-images" -LABEL org.opencontainers.image.revision=$VCS_REF -LABEL org.opencontainers.image.vendor="test-kitchen" -LABEL org.opencontainers.image.licenses="Apache-2.0" - -# hadolint ignore=DL3041,SC2016 -RUN sed -i '/mirrorlist/d' /etc/yum.repos.d/*.repo && \ - sed -i -e 's/#baseurl/baseurl/g' /etc/yum.repos.d/*.repo && \ - sed -i -e 's/mirror.centos.org\/$contentdir\/\$releasever/mirrors.vcea.wsu.edu\/centos-vault\/8.5.2111/g' /etc/yum.repos.d/*.repo && \ - dnf -y install \ - binutils \ - ca-certificates \ - cronie \ - curl \ - dmidecode \ - e2fsprogs \ - ethtool \ - file \ - glibc-langpack-en \ - gnupg2 \ - hostname \ - initscripts \ - iproute \ - iptables \ - iputils \ - lsof \ - nc \ - net-tools \ - nmap \ - openssl \ - passwd \ - procps \ - strace \ - sudo \ - systemd-sysv \ - systemd-udev \ - redhat-lsb-core \ - tcpdump \ - telnet \ - util-linux \ - vim-minimal \ - wget \ - which && \ - dnf upgrade -y && \ - dnf clean all && \ - rm -rf /var/log/* && \ - # Don't start any optional services. - find /etc/systemd/system \ - /lib/systemd/system \ - -path '*.wants/*' \ - \( -name '*getty*' \ - -or -name '*systemd-logind*' \ - -or -name '*systemd-vconsole-setup*' \ - -or -name '*systemd-readahead*' \ - -or -name '*kdump*' \ - -or -name '*dnf-makecache*' \ - -or -name '*udev*' \) \ - -exec rm -v {} \; && \ - systemctl set-default multi-user.target && \ - systemctl mask dev-hugepages.mount sys-fs-fuse-connections.mount network.service - -CMD [ "/usr/lib/systemd/systemd" ]