From 529f1720a3c1b0946152dd9b054fc90966564b09 Mon Sep 17 00:00:00 2001 From: Martin Pitt Date: Thu, 19 Dec 2024 17:13:59 +0100 Subject: [PATCH] containers/ws: Clean /var/cache/libdnf5 This currently contains 84 MB of dead weight (repository indexes). That made the container balloon from 57 to 116 MB. --- containers/ws/install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/containers/ws/install.sh b/containers/ws/install.sh index 22289bf9b590..3ea45cbad6ab 100755 --- a/containers/ws/install.sh +++ b/containers/ws/install.sh @@ -44,5 +44,5 @@ else rm $INSTALLROOT/usr/libexec/cockpit-session fi -rm -rf /build/var/cache/dnf /build/var/lib/dnf /build/var/lib/rpm* /build/var/log/* +rm -rf /build/var/cache/*dnf* /build/var/lib/dnf /build/var/lib/rpm* /build/var/log/* rm -rf /container/rpms || true