From e1773edeff3b47eeaed228145d060ff953f79db9 Mon Sep 17 00:00:00 2001 From: Leochocolat Date: Fri, 19 Jan 2024 21:55:56 +0100 Subject: [PATCH] Remove unused prebuilded docker images --- .../docker/images/Dockerfile.centos.7-builded | 26 -------------- .../docker/images/Dockerfile.centos.8-builded | 34 ------------------- .../images/Dockerfile.debian.10-builded | 31 ----------------- .../docker/images/Dockerfile.debian.9-builded | 31 ----------------- .../images/Dockerfile.fedora.27-builded | 26 -------------- .../images/Dockerfile.ubuntu.18.04-builded | 29 ---------------- .../images/Dockerfile.ubuntu.20.04-builded | 29 ---------------- 7 files changed, 206 deletions(-) delete mode 100644 tests/docker/images/Dockerfile.centos.7-builded delete mode 100644 tests/docker/images/Dockerfile.centos.8-builded delete mode 100644 tests/docker/images/Dockerfile.debian.10-builded delete mode 100644 tests/docker/images/Dockerfile.debian.9-builded delete mode 100644 tests/docker/images/Dockerfile.fedora.27-builded delete mode 100644 tests/docker/images/Dockerfile.ubuntu.18.04-builded delete mode 100644 tests/docker/images/Dockerfile.ubuntu.20.04-builded diff --git a/tests/docker/images/Dockerfile.centos.7-builded b/tests/docker/images/Dockerfile.centos.7-builded deleted file mode 100644 index 9d56da67..00000000 --- a/tests/docker/images/Dockerfile.centos.7-builded +++ /dev/null @@ -1,26 +0,0 @@ -FROM centos:7 - -RUN yum install iproute epel-release sudo -y - -RUN cd /lib/systemd/system/sysinit.target.wants/ && \ - ls | grep -v systemd-tmpfiles-setup.service | xargs rm -f && \ - rm -f /lib/systemd/system/sockets.target.wants/*udev* && \ - systemctl mask -- \ - tmp.mount \ - etc-hostname.mount \ - etc-hosts.mount \ - etc-resolv.conf.mount \ - -.mount \ - swap.target \ - getty.target \ - getty-static.service \ - dev-mqueue.mount \ - cgproxy.service \ - systemd-tmpfiles-setup-dev.service \ - systemd-remount-fs.service \ - systemd-ask-password-wall.path \ - systemd-logind.service && \ - systemctl set-default multi-user.target || true - -RUN sed -ri /etc/systemd/journald.conf \ - -e 's!^#?Storage=.*!Storage=volatile!' diff --git a/tests/docker/images/Dockerfile.centos.8-builded b/tests/docker/images/Dockerfile.centos.8-builded deleted file mode 100644 index 8671a3df..00000000 --- a/tests/docker/images/Dockerfile.centos.8-builded +++ /dev/null @@ -1,34 +0,0 @@ -FROM centos:8 - -RUN yum install -y \ - iproute \ - epel-release \ - sudo \ - python3 \ - langpacks-en \ - glibc-all-langpacks - -RUN ln -s /usr/bin/python3 /usr/bin/python - -RUN cd /lib/systemd/system/sysinit.target.wants/ && \ - ls | grep -v systemd-tmpfiles-setup.service | xargs rm -f && \ - rm -f /lib/systemd/system/sockets.target.wants/*udev* && \ - systemctl mask -- \ - tmp.mount \ - etc-hostname.mount \ - etc-hosts.mount \ - etc-resolv.conf.mount \ - -.mount \ - swap.target \ - getty.target \ - getty-static.service \ - dev-mqueue.mount \ - cgproxy.service \ - systemd-tmpfiles-setup-dev.service \ - systemd-remount-fs.service \ - systemd-ask-password-wall.path \ - systemd-logind.service && \ - systemctl set-default multi-user.target || true - -RUN sed -ri /etc/systemd/journald.conf \ - -e 's!^#?Storage=.*!Storage=volatile!' diff --git a/tests/docker/images/Dockerfile.debian.10-builded b/tests/docker/images/Dockerfile.debian.10-builded deleted file mode 100644 index 66a4656e..00000000 --- a/tests/docker/images/Dockerfile.debian.10-builded +++ /dev/null @@ -1,31 +0,0 @@ -FROM debian:10 - -ARG DEBIAN_FRONTEND=noninteractive - -RUN apt-get update && \ - apt-get install --yes python-minimal systemd gnupg iproute2 sudo - -RUN cd /lib/systemd/system/sysinit.target.wants/ && \ - ls | grep -v systemd-tmpfiles-setup.service | xargs rm -f && \ - rm -f /lib/systemd/system/sockets.target.wants/*udev* && \ - systemctl mask -- \ - tmp.mount \ - etc-hostname.mount \ - etc-hosts.mount \ - etc-resolv.conf.mount \ - -.mount \ - swap.target \ - getty.target \ - getty-static.service \ - dev-mqueue.mount \ - cgproxy.service \ - systemd-tmpfiles-setup-dev.service \ - systemd-remount-fs.service \ - systemd-ask-password-wall.path \ - systemd-logind.service && \ - systemctl set-default multi-user.target || true - -RUN sed -ri /etc/systemd/journald.conf \ - -e 's!^#?Storage=.*!Storage=volatile!' - -RUN ln -s /lib/systemd/systemd /sbin/init diff --git a/tests/docker/images/Dockerfile.debian.9-builded b/tests/docker/images/Dockerfile.debian.9-builded deleted file mode 100644 index 83ccf7e6..00000000 --- a/tests/docker/images/Dockerfile.debian.9-builded +++ /dev/null @@ -1,31 +0,0 @@ -FROM debian:9 - -ARG DEBIAN_FRONTEND=noninteractive - -RUN apt-get update && \ - apt-get install --yes python-minimal systemd gnupg iproute2 sudo - -RUN cd /lib/systemd/system/sysinit.target.wants/ && \ - ls | grep -v systemd-tmpfiles-setup.service | xargs rm -f && \ - rm -f /lib/systemd/system/sockets.target.wants/*udev* && \ - systemctl mask -- \ - tmp.mount \ - etc-hostname.mount \ - etc-hosts.mount \ - etc-resolv.conf.mount \ - -.mount \ - swap.target \ - getty.target \ - getty-static.service \ - dev-mqueue.mount \ - cgproxy.service \ - systemd-tmpfiles-setup-dev.service \ - systemd-remount-fs.service \ - systemd-ask-password-wall.path \ - systemd-logind.service && \ - systemctl set-default multi-user.target || true - -RUN sed -ri /etc/systemd/journald.conf \ - -e 's!^#?Storage=.*!Storage=volatile!' - -RUN ln -s /lib/systemd/systemd /sbin/init diff --git a/tests/docker/images/Dockerfile.fedora.27-builded b/tests/docker/images/Dockerfile.fedora.27-builded deleted file mode 100644 index adde45a5..00000000 --- a/tests/docker/images/Dockerfile.fedora.27-builded +++ /dev/null @@ -1,26 +0,0 @@ -FROM fedora:latest - -RUN dnf install iproute python sudo -y - -RUN cd /lib/systemd/system/sysinit.target.wants/ && \ - ls | grep -v systemd-tmpfiles-setup.service | xargs rm -f && \ - rm -f /lib/systemd/system/sockets.target.wants/*udev* && \ - systemctl mask -- \ - tmp.mount \ - etc-hostname.mount \ - etc-hosts.mount \ - etc-resolv.conf.mount \ - -.mount \ - swap.target \ - getty.target \ - getty-static.service \ - dev-mqueue.mount \ - cgproxy.service \ - systemd-tmpfiles-setup-dev.service \ - systemd-remount-fs.service \ - systemd-ask-password-wall.path \ - systemd-logind.service && \ - systemctl set-default multi-user.target || true - -RUN sed -ri /etc/systemd/journald.conf \ - -e 's!^#?Storage=.*!Storage=volatile!' diff --git a/tests/docker/images/Dockerfile.ubuntu.18.04-builded b/tests/docker/images/Dockerfile.ubuntu.18.04-builded deleted file mode 100644 index 3656d2d4..00000000 --- a/tests/docker/images/Dockerfile.ubuntu.18.04-builded +++ /dev/null @@ -1,29 +0,0 @@ -FROM ubuntu:18.04 - -ARG DEBIAN_FRONTEND=noninteractive - -RUN apt-get update && \ - apt-get install --yes python-minimal systemd gnupg iproute2 sudo - -RUN cd /lib/systemd/system/sysinit.target.wants/ && \ - ls | grep -v systemd-tmpfiles-setup.service | xargs rm -f && \ - rm -f /lib/systemd/system/sockets.target.wants/*udev* && \ - systemctl mask -- \ - tmp.mount \ - etc-hostname.mount \ - etc-hosts.mount \ - etc-resolv.conf.mount \ - -.mount \ - swap.target \ - getty.target \ - getty-static.service \ - dev-mqueue.mount \ - cgproxy.service \ - systemd-tmpfiles-setup-dev.service \ - systemd-remount-fs.service \ - systemd-ask-password-wall.path \ - systemd-logind.service && \ - systemctl set-default multi-user.target || true - -RUN sed -ri /etc/systemd/journald.conf \ - -e 's!^#?Storage=.*!Storage=volatile!' diff --git a/tests/docker/images/Dockerfile.ubuntu.20.04-builded b/tests/docker/images/Dockerfile.ubuntu.20.04-builded deleted file mode 100644 index 28e772ed..00000000 --- a/tests/docker/images/Dockerfile.ubuntu.20.04-builded +++ /dev/null @@ -1,29 +0,0 @@ -FROM ubuntu:20.04 - -ARG DEBIAN_FRONTEND=noninteractive - -RUN apt-get update && \ - apt-get install --yes python-minimal systemd gnupg iproute2 sudo - -RUN cd /lib/systemd/system/sysinit.target.wants/ && \ - ls | grep -v systemd-tmpfiles-setup.service | xargs rm -f && \ - rm -f /lib/systemd/system/sockets.target.wants/*udev* && \ - systemctl mask -- \ - tmp.mount \ - etc-hostname.mount \ - etc-hosts.mount \ - etc-resolv.conf.mount \ - -.mount \ - swap.target \ - getty.target \ - getty-static.service \ - dev-mqueue.mount \ - cgproxy.service \ - systemd-tmpfiles-setup-dev.service \ - systemd-remount-fs.service \ - systemd-ask-password-wall.path \ - systemd-logind.service && \ - systemctl set-default multi-user.target || true - -RUN sed -ri /etc/systemd/journald.conf \ - -e 's!^#?Storage=.*!Storage=volatile!'