We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7a704d1 commit 13be123Copy full SHA for 13be123
elements/rocky-container-stackhpc/containerfiles/9-stackhpc
@@ -7,7 +7,7 @@ ARG ROCKY_MIRROR_URLS
7
8
RUN if [[ ${ROCKY_USE_MIRRORS} = "true" ]]; then \
9
dnf -y install 'dnf-command(config-manager)' && \
10
- mkdir /tmp/orig_repos && mv -f /etc/yum.repos.d/* /tmp/orig_repos/ && \
+ dnf config-manager --set-disabled '*' && \
11
for REPO_URL in $(echo ${ROCKY_MIRROR_URLS} | sed "s/,/ /g"); do \
12
dnf config-manager --add-repo ${REPO_URL}; done && \
13
dnf --allowerasing -y distro-sync; fi
0 commit comments