Skip to content

Commit aefc77f

Browse files
committed
feat: update init image
1 parent d8d7e0a commit aefc77f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

init/Containerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
FROM docker.io/redhat/ubi10-init:10.1
22

3-
RUN dnf clean all;\
3+
RUN printf "tsflags=nodocs\ninstall_weak_deps=False\n" >> /etc/dnf/dnf.conf;\
4+
dnf clean all;\
45
dnf -y update;\
56
dnf -y install https://dl.fedoraproject.org/pub/epel/epel-release-latest-10.noarch.rpm;\
67
dnf -y install procps-ng unzip;\
78
dnf clean all;\
8-
rm /etc/machine-id;\
9-
printf "tsflags=nodocs\ninstall_weak_deps=False\n" >> /etc/dnf/dnf.conf
9+
rm /etc/machine-id
1010

1111
COPY rootfs/ /
1212

0 commit comments

Comments
 (0)