diff --git a/src/s6/debian-root/usr/local/bin/install.sh b/src/s6/debian-root/usr/local/bin/install.sh index 4e81884..2008f15 100644 --- a/src/s6/debian-root/usr/local/bin/install.sh +++ b/src/s6/debian-root/usr/local/bin/install.sh @@ -97,6 +97,8 @@ mv /etc/pihole/macvendor.db /macvendor.db rm /etc/lighttpd/conf-enabled/99-unconfigured.conf ## Remove the default lighttpd placeholder page for good measure rm /var/www/html/index.lighttpd.html +## Remove redundant directories created by the installer to reduce docker image size +rm -rf /tmp/* /var/www/html/admin/.git* /etc/.pihole/.git* if [ ! -f /.piholeFirstBoot ]; then touch /.piholeFirstBoot