First Push

This commit is contained in:
2024-10-30 03:36:22 -04:00
parent be3757b98c
commit 50ca3ff423
10 changed files with 200 additions and 0 deletions

19
Dockerfile Normal file
View File

@@ -0,0 +1,19 @@
#ARG PIHOLE_VERSION
FROM pihole/pihole:development
RUN apk update
RUN apk add --no-cache unbound curl ca-certificates \
&& curl -o /etc/unbound/root.hints https://www.internic.net/domain/named.cache
RUN apk add --no-cache iputils-ping
COPY config/unbound/unbound.conf /etc/unbound/unbound.conf
COPY config/unbound/unbound.conf.d /etc/unbound/unbound.conf.d
COPY config/unbound/unbound.log /etc/unbound/unbound.log
COPY config/entrypoint.sh /usr/bin/entrypoint.sh
COPY config/unbound/unbound.sh /usr/bin/unbound.sh
RUN chmod +x /usr/bin/entrypoint.sh
RUN chmod +x /usr/bin/unbound.sh
WORKDIR /usr/bin
ENTRYPOINT ["entrypoint.sh"]