From 201303a56a97b190f5f92773468ba448d1bd46e2 Mon Sep 17 00:00:00 2001 From: Adam Warner Date: Thu, 26 May 2022 20:42:59 +0100 Subject: [PATCH 1/4] ADD padd.sh to the container root Signed-off-by: Adam Warner --- src/Dockerfile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/Dockerfile b/src/Dockerfile index f3d4332..71cee6e 100644 --- a/src/Dockerfile +++ b/src/Dockerfile @@ -18,6 +18,10 @@ ENV PHP_ENV_CONFIG /etc/lighttpd/conf-enabled/15-fastcgi-php.conf ARG PHP_ERROR_LOG ENV PHP_ERROR_LOG /var/log/lighttpd/error-pihole.log +# Add PADD to the container, too. +ADD https://raw.githubusercontent.com/pi-hole/PADD/master/padd.sh /padd.sh +RUN chmod +x /padd.sh + # IPv6 disable flag for networks/devices that do not support it ENV IPv6 True From fbef9727c1c76b6b4e01a70f854ca82c90685bf2 Mon Sep 17 00:00:00 2001 From: Adam Warner Date: Sun, 11 Dec 2022 11:27:54 +0000 Subject: [PATCH 2/4] Update Dockerfile Signed-off-by: Adam Warner --- src/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Dockerfile b/src/Dockerfile index 71cee6e..c9f23f8 100644 --- a/src/Dockerfile +++ b/src/Dockerfile @@ -19,7 +19,7 @@ ARG PHP_ERROR_LOG ENV PHP_ERROR_LOG /var/log/lighttpd/error-pihole.log # Add PADD to the container, too. -ADD https://raw.githubusercontent.com/pi-hole/PADD/master/padd.sh /padd.sh +ADD https://install.padd.sh /padd.sh RUN chmod +x /padd.sh # IPv6 disable flag for networks/devices that do not support it From 806829a1b1fe55a259f3de579866408f639ec8b0 Mon Sep 17 00:00:00 2001 From: Adam Warner Date: Sun, 11 Dec 2022 15:51:43 +0000 Subject: [PATCH 3/4] add padd to .codespellignore. Signed-off-by: Adam Warner --- .codespellignore | 1 + 1 file changed, 1 insertion(+) diff --git a/.codespellignore b/.codespellignore index e69de29..5f24e72 100644 --- a/.codespellignore +++ b/.codespellignore @@ -0,0 +1 @@ +padd From f20a0d448c535f8c796a87ba3f6fc53a6503adbf Mon Sep 17 00:00:00 2001 From: Adam Warner Date: Sun, 11 Dec 2022 16:16:29 +0000 Subject: [PATCH 4/4] Add to /usr/local/bin and drop the .sh. Can now be called with `padd` Signed-off-by: Adam Warner --- src/Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Dockerfile b/src/Dockerfile index c9f23f8..8a05b55 100644 --- a/src/Dockerfile +++ b/src/Dockerfile @@ -19,8 +19,8 @@ ARG PHP_ERROR_LOG ENV PHP_ERROR_LOG /var/log/lighttpd/error-pihole.log # Add PADD to the container, too. -ADD https://install.padd.sh /padd.sh -RUN chmod +x /padd.sh +ADD https://install.padd.sh /usr/local/bin/padd +RUN chmod +x /usr/local/bin/padd # IPv6 disable flag for networks/devices that do not support it ENV IPv6 True