Add apt cleanup to reduce image size

This commit is contained in:
Karl 2025-07-22 17:27:24 +01:00
parent b7e48f776e
commit 8ac881ffcf

View File

@ -103,3 +103,7 @@ dpkg --list | grep "ii chromium " >> /version-info
echo -n "Linux kernel version: " >> /version-info
ls /lib/modules/ | sort -r | head -n 1 >> /version-info
echo >> /version-info
# Clean up apt cache and remove unused packages
apt-get clean
apt-get autoremove -y