File tree Expand file tree Collapse file tree 1 file changed +1
-4
lines changed
elements/rocky-container-stackhpc/containerfiles Expand file tree Collapse file tree 1 file changed +1
-4
lines changed Original file line number Diff line number Diff line change @@ -7,6 +7,7 @@ ARG ROCKY_BASEOS_URL
7
7
8
8
RUN if [ ${ROCKY_USE_MIRROR} = "true" ]; then \
9
9
dnf -y install 'dnf-command(config-manager)' && \
10
+ dnf clean all && \
10
11
mkdir /tmp/orig_repos && mv -f /etc/yum.repos.d/* /tmp/orig_repos/ && \
11
12
dnf config-manager --add-repo ${ROCKY_APPSTREAM_URL} && \
12
13
dnf config-manager --add-repo ${ROCKY_BASEOS_URL} && \
@@ -16,10 +17,6 @@ RUN dnf group install -y 'Minimal Install' --allowerasing && \
16
17
dnf install -y findutils util-linux \
17
18
https://mirror.stream.centos.org/9-stream/AppStream/x86_64/os/Packages/cloud-init-23.1.1-12.el9.noarch.rpm
18
19
19
- RUN rm -f /etc/yum.repos.d/* && \
20
- mv -f /tmp/orig_repos/* /etc/yum.repos.d/ && \
21
- rmdir /tmp/orig_repos
22
-
23
20
RUN sed -i "s/renderers:.*/renderers: ['network-manager']\n activators: ['network-manager']/" /etc/cloud/cloud.cfg
24
21
25
22
RUN systemctl unmask console-getty.service dev-hugepages.mount \
You can’t perform that action at this time.
0 commit comments