diff --git a/Containerfile b/Containerfile index ed54183..96e82b7 100644 --- a/Containerfile +++ b/Containerfile @@ -97,6 +97,14 @@ RUN systemctl enable \ bootc-fetch-apply-updates.timer \ flatpak-preinstall.service +############################################################################### +# FINAL CLEANUP +############################################################################### +# autoremove + Cache-/Temp-Bereinigung (einmalig, am Ende aller Installs) +RUN --mount=type=bind,from=build-ctx,source=/build/99-cleanup.sh,target=/tmp/99-cleanup.sh \ + --mount=type=tmpfs,dst=/tmp \ + bash /tmp/99-cleanup.sh + ############################################################################### # LINTING ###############################################################################