From 2988c9ea76857cbfe5c567c7576d4779d33dd60d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christian=20K=C3=B6nig?= Date: Thu, 29 Dec 2022 21:13:00 +0100 Subject: [PATCH] Don't install recommended packages MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Christian König --- test/_centos_8.Dockerfile | 2 +- test/_centos_9.Dockerfile | 2 +- test/_debian_10.Dockerfile | 2 +- test/_debian_11.Dockerfile | 2 +- test/_fedora_35.Dockerfile | 2 +- test/_fedora_36.Dockerfile | 2 +- test/_fedora_37.Dockerfile | 2 +- test/_ubuntu_20.Dockerfile | 2 +- test/_ubuntu_22.Dockerfile | 2 +- 9 files changed, 9 insertions(+), 9 deletions(-) diff --git a/test/_centos_8.Dockerfile b/test/_centos_8.Dockerfile index 2021c194..ea3e3cba 100644 --- a/test/_centos_8.Dockerfile +++ b/test/_centos_8.Dockerfile @@ -1,5 +1,5 @@ FROM quay.io/centos/centos:stream8 -RUN yum install -y git systemd +RUN dnf --setopt=install_weak_deps=False install -y git systemd ENV GITDIR /etc/.pihole ENV SCRIPTDIR /opt/pihole diff --git a/test/_centos_9.Dockerfile b/test/_centos_9.Dockerfile index e2aa0fe0..a2ec442d 100644 --- a/test/_centos_9.Dockerfile +++ b/test/_centos_9.Dockerfile @@ -1,5 +1,5 @@ FROM quay.io/centos/centos:stream9 -RUN yum install -y --allowerasing curl git systemd +RUN dnf --setopt=install_weak_deps=False install -y --allowerasing curl git systemd ENV GITDIR /etc/.pihole ENV SCRIPTDIR /opt/pihole diff --git a/test/_debian_10.Dockerfile b/test/_debian_10.Dockerfile index 446ca312..4b282afa 100644 --- a/test/_debian_10.Dockerfile +++ b/test/_debian_10.Dockerfile @@ -1,6 +1,6 @@ FROM docker.io/buildpack-deps:buster-scm -RUN apt-get update && apt-get -y install systemd systemd-sysv +RUN apt-get update && apt-get -y --no-install-recommends install systemd systemd-sysv ENV GITDIR /etc/.pihole ENV SCRIPTDIR /opt/pihole diff --git a/test/_debian_11.Dockerfile b/test/_debian_11.Dockerfile index 73cc8db1..3ce75c64 100644 --- a/test/_debian_11.Dockerfile +++ b/test/_debian_11.Dockerfile @@ -1,6 +1,6 @@ FROM docker.io/buildpack-deps:bullseye-scm -RUN apt-get update && apt-get -y install systemd systemd-sysv +RUN apt-get update && apt-get -y --no-install-recommends install systemd systemd-sysv ENV GITDIR /etc/.pihole ENV SCRIPTDIR /opt/pihole diff --git a/test/_fedora_35.Dockerfile b/test/_fedora_35.Dockerfile index b0723ced..4d5e1aba 100644 --- a/test/_fedora_35.Dockerfile +++ b/test/_fedora_35.Dockerfile @@ -1,5 +1,5 @@ FROM docker.io/fedora:35 -RUN dnf install -y git systemd +RUN dnf --setopt=install_weak_deps=False install -y git systemd ENV GITDIR /etc/.pihole ENV SCRIPTDIR /opt/pihole diff --git a/test/_fedora_36.Dockerfile b/test/_fedora_36.Dockerfile index ff61bd3b..d7ef9f4a 100644 --- a/test/_fedora_36.Dockerfile +++ b/test/_fedora_36.Dockerfile @@ -1,5 +1,5 @@ FROM docker.io/fedora:36 -RUN dnf install -y git systemd +RUN dnf --setopt=install_weak_deps=False install -y git systemd ENV GITDIR /etc/.pihole ENV SCRIPTDIR /opt/pihole diff --git a/test/_fedora_37.Dockerfile b/test/_fedora_37.Dockerfile index 12e393b3..266b3631 100644 --- a/test/_fedora_37.Dockerfile +++ b/test/_fedora_37.Dockerfile @@ -1,5 +1,5 @@ FROM docker.io/fedora:37 -RUN dnf install -y git systemd +RUN dnf install --setopt=install_weak_deps=False -y git systemd ENV GITDIR /etc/.pihole ENV SCRIPTDIR /opt/pihole diff --git a/test/_ubuntu_20.Dockerfile b/test/_ubuntu_20.Dockerfile index 8327f680..09a4a470 100644 --- a/test/_ubuntu_20.Dockerfile +++ b/test/_ubuntu_20.Dockerfile @@ -1,6 +1,6 @@ FROM docker.io/buildpack-deps:focal-scm -RUN apt-get update && apt-get -y install systemd systemd-sysv +RUN apt-get update && apt-get -y --no-install-recommends install systemd systemd-sysv ENV GITDIR /etc/.pihole ENV SCRIPTDIR /opt/pihole diff --git a/test/_ubuntu_22.Dockerfile b/test/_ubuntu_22.Dockerfile index bcaf2467..dd5e4613 100644 --- a/test/_ubuntu_22.Dockerfile +++ b/test/_ubuntu_22.Dockerfile @@ -1,6 +1,6 @@ FROM docker.io/buildpack-deps:jammy-scm -RUN apt-get update && apt-get -y install systemd systemd-sysv +RUN apt-get update && apt-get -y --no-install-recommends install systemd systemd-sysv ENV GITDIR /etc/.pihole ENV SCRIPTDIR /opt/pihole