diff --git a/config/hooks/normal/0900-clear-apt-cache.hook.chroot b/config/hooks/normal/0900-clear-apt-cache.hook.chroot new file mode 100755 index 0000000..449b6c0 --- /dev/null +++ b/config/hooks/normal/0900-clear-apt-cache.hook.chroot @@ -0,0 +1,6 @@ +#!/bin/sh +# clear APT package download cache to reduce the image size from ~100MB +rm -vr /var/lib/apt/lists/ + +# clear APT package list cache to reduce the image size from ~180MB +rm -vr /var/cache/apt/ \ No newline at end of file