Skip to content

Commit

Permalink
Adapt Dockerfile.fedora to F39
Browse files Browse the repository at this point in the history
The fedora-repos-modular package is gone from F39.  This commit makes
the Dockerfile work on a F39 host with the mktree.oci backend since we
override the release with "podman build --from fedora:39 ..." there.
  • Loading branch information
dmnks committed Nov 7, 2023
1 parent 5d5dc60 commit 732d057
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/Dockerfile.fedora
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@ FROM registry.fedoraproject.org/fedora:38 AS base
MAINTAINER [email protected]

RUN echo -e "deltarpm=0\ninstall_weak_deps=0\ntsflags=nodocs" >> /etc/dnf/dnf.conf
RUN rpm -e fedora-repos-modular
# Fedora 39 doesn't have this package
RUN rpm --quiet -q fedora-repos-modular && rpm -e fedora-repos-modular ||:
RUN sed -i -e "s:^enabled=.$:enabled=0:g" /etc/yum.repos.d/*openh264.repo
# dummy for controlling per-repo gpgcheck via Semaphore setup
RUN sed -i -e "s:^gpgcheck=.$:gpgcheck=1:g" /etc/yum.repos.d/*.repo
Expand Down

0 comments on commit 732d057

Please sign in to comment.