#!/usr/bin/bash
set -eoux pipefail
# --- 2. Die sofortige Bereinigung (WICHTIG!) ---
echo "Cleaning up this layer..."
dnf5 clean all || true
dnf5 autoremove -y || true
rm -rf /tmp/* /var/tmp/* || true