Skip to content

Commit 8621b55

Browse files
committed
Drop dnf update from edpm-bootc build
Some instability has been observed when using dnf update in the edpm-bootc image build. Better to just start with the latest available upstream bootc image. The bootc docs also caution against using dnf update: https://docs.fedoraproject.org/en-US/bootc/building-containers/#_dnf_y_update Signed-off-by: James Slagle <[email protected]>
1 parent db17840 commit 8621b55

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bootc/Containerfile.centos9

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ ARG PACKAGES="\
3434
sysstat"
3535
ARG ENABLE_UNITS="openvswitch"
3636

37-
RUN dnf -y update && dnf -y install $PACKAGES && dnf clean all && systemctl enable $ENABLE_UNITS
37+
RUN dnf -y install $PACKAGES && dnf clean all && systemctl enable $ENABLE_UNITS
3838

3939
# Drop Ansible fact into place
4040
COPY ansible-facts/bootc.fact /usr/etc/ansible/facts.d/bootc.fact

0 commit comments

Comments
 (0)