diff --git a/pihole-unbound/Dockerfile b/pihole-unbound/Dockerfile index 44f170c..b4da01a 100644 --- a/pihole-unbound/Dockerfile +++ b/pihole-unbound/Dockerfile @@ -1,11 +1,13 @@ ARG PIHOLE_VERSION FROM pihole/pihole:${PIHOLE_VERSION:-latest} -RUN apt update && apt install -y unbound +RUN echo "deb http://deb.debian.org/debian bullseye-backports main" >> /etc/apt/sources.list +RUN apt update && apt -t bullseye-backports install -y unbound COPY lighttpd-external.conf /etc/lighttpd/external.conf COPY unbound-pihole.conf /etc/unbound/unbound.conf.d/pi-hole.conf COPY 99-edns.conf /etc/dnsmasq.d/99-edns.conf RUN mkdir -p /etc/services.d/unbound COPY unbound-run /etc/services.d/unbound/run +RUN chmod 774 /etc/services.d/unbound/run ENTRYPOINT ./s6-init \ No newline at end of file diff --git a/pihole-unbound/unbound-run b/pihole-unbound/unbound-run index 46f2f13..5791b8b 100755 --- a/pihole-unbound/unbound-run +++ b/pihole-unbound/unbound-run @@ -7,7 +7,7 @@ DESC="DNS server" DAEMON="/usr/sbin/unbound" PIDFILE="/run/unbound.pid" -HELPER="/usr/lib/unbound/package-helper" +HELPER="/usr/libexec/unbound-helper" test -x $DAEMON || exit 0