Skip to content

Commit

Permalink
fixup! Fedora41 needs this
Browse files Browse the repository at this point in the history
  • Loading branch information
fauust committed Dec 13, 2024
1 parent bb62a44 commit 69f225f
Showing 1 changed file with 5 additions and 10 deletions.
15 changes: 5 additions & 10 deletions Dockerfile.redhat
Original file line number Diff line number Diff line change
@@ -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 \
Expand Down

0 comments on commit 69f225f

Please sign in to comment.