14 lines
207 B
Bash
14 lines
207 B
Bash
#!/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
|
|
|