From 69f225f3ad272edc670fb75d3ea7a607ae2c6099 Mon Sep 17 00:00:00 2001 From: Faustin Lammler Date: Fri, 13 Dec 2024 17:45:23 +0100 Subject: [PATCH] fixup! Fedora41 needs this --- Dockerfile.redhat | 15 +++++---------- 1 file changed, 5 insertions(+), 10 deletions(-) diff --git a/Dockerfile.redhat b/Dockerfile.redhat index 45c690d..e4f484b 100644 --- a/Dockerfile.redhat +++ b/Dockerfile.redhat @@ -1,21 +1,16 @@ ARG base_image=fedora-39 -FROM docker.io/fauust/docker-systemd:"$base_image" +FROM ghcr.io/fauust/docker-systemd:"$base_image" RUN set -eux \ && source /etc/os-release \ - && case $VERSION_ID in \ - 41) \ - extra_packages="python3-dnf python3-libdnf5" \ - ;; \ - *) \ - extra_packages="python3-dnf" \ - ;; \ - esac \ && yum -y install \ ca-certificates \ python3 \ - "$extra_packages" \ + python3-dnf \ sudo \ + && if [ "$VERSION_ID" = 41 ]; then \ + yum -y install python3-libdnf5; \ + fi \ # clean doc \ && rm -rf /usr/share/doc \ /usr/share/man \