Skip to content

Commit

Permalink
containers/ws: Clean /var/cache/libdnf5
Browse files Browse the repository at this point in the history
This currently contains 84 MB of dead weight (repository indexes).
That made the container balloon from 57 to 116 MB.
  • Loading branch information
martinpitt authored and mvollmer committed Dec 20, 2024
1 parent 3b9e6cc commit eb0d8d1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion containers/ws/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit eb0d8d1

Please sign in to comment.