Skip to content

Commit a8506cc

Browse files
committed
use pub mirrors always
1 parent 78ed6d9 commit a8506cc

2 files changed

Lines changed: 6 additions & 0 deletions

File tree

Dockerfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,9 @@ ADD --chmod=755 "https://raw.githubusercontent.com/linuxserver/docker-mods/mod-s
7676
RUN \
7777
dnf autoremove -y && \
7878
dnf clean all && \
79+
sed -i \
80+
's/yum$ociregion.$ocidomain/yum.oracle.com/g' \
81+
/etc/yum.repos.d/*.repo && \
7982
rm -rf \
8083
/tmp/* \
8184
/var/cache/dnf/*

Dockerfile.aarch64

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,9 @@ ADD --chmod=755 "https://raw.githubusercontent.com/linuxserver/docker-mods/mod-s
7676
RUN \
7777
dnf autoremove -y && \
7878
dnf clean all && \
79+
sed -i \
80+
's/yum$ociregion.$ocidomain/yum.oracle.com/g' \
81+
/etc/yum.repos.d/*.repo && \
7982
rm -rf \
8083
/tmp/* \
8184
/var/cache/dnf/*

0 commit comments

Comments
 (0)