Skip to content

Commit c1eba21

Browse files
committed
Add dnf clean all
1 parent d8f0961 commit c1eba21

File tree

1 file changed

+1
-0
lines changed
  • elements/rocky-container-stackhpc/containerfiles

1 file changed

+1
-0
lines changed

elements/rocky-container-stackhpc/containerfiles/9-stackhpc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ ARG ROCKY_BASEOS_URL
77

88
RUN if [ ${ROCKY_USE_MIRROR} = "true" ]; then \
99
dnf -y install 'dnf-command(config-manager)' && \
10+
dnf clean all && \
1011
mkdir /tmp/orig_repos && mv -f /etc/yum.repos.d/* /tmp/orig_repos/ && \
1112
dnf config-manager --add-repo ${ROCKY_APPSTREAM_URL} && \
1213
dnf config-manager --add-repo ${ROCKY_BASEOS_URL} && \

0 commit comments

Comments
 (0)