Improve arm build time for Fedora

For some reason, openh264 repo is causing delays on arm in Github
actions.
This commit is contained in:
Peter Schiffer 2023-12-23 21:09:22 +01:00
parent 08ed6b10d1
commit 4754e76ce7
No known key found for this signature in database
GPG key ID: F2A18AC34A008397
2 changed files with 2 additions and 0 deletions

View file

@ -2,6 +2,7 @@ FROM fedora:39
RUN echo 'install_weak_deps=False' >> /etc/dnf/dnf.conf \
&& echo 'assumeyes=True' >> /etc/dnf/dnf.conf \
&& sed -i 's/enabled=1/enabled=0/g' /etc/yum.repos.d/fedora-cisco-openh264.repo \
&& dnf --refresh upgrade \
&& dnf install pdns-recursor \
&& dnf clean all

View file

@ -2,6 +2,7 @@ FROM fedora:39
RUN echo 'install_weak_deps=False' >> /etc/dnf/dnf.conf \
&& echo 'assumeyes=True' >> /etc/dnf/dnf.conf \
&& sed -i 's/enabled=1/enabled=0/g' /etc/yum.repos.d/fedora-cisco-openh264.repo \
&& dnf --refresh upgrade \
&& dnf install \
hostname \