From bfa91b3a220f5376cb21eab8e1b12ea55c3bd1b1 Mon Sep 17 00:00:00 2001 From: Colin Walters Date: Wed, 20 Dec 2023 16:31:03 -0500 Subject: [PATCH] cloud: Clean more stuff Workaround for https://github.com/CentOS/centos-bootc/issues/113 --- cloud/Containerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cloud/Containerfile b/cloud/Containerfile index d3107a5..e6250fc 100644 --- a/cloud/Containerfile +++ b/cloud/Containerfile @@ -3,5 +3,5 @@ FROM quay.io/centos-bootc/fedora-bootc-dev:eln RUN dnf -y install cloud-init && \ ln -s ../cloud-init.target /usr/lib/systemd/system/default.target.wants && \ - rm /var/log/*.log /var/lib/dnf -rf && ostree container commit + rm -rf /var/{cache,log} /var/lib/{dnf,rhsm} -rf && ostree container commit COPY usr usr