2023-02-19 03:09:54 +00:00
|
|
|
ARG PIHOLE_DOCKER_TAG=2023.02.2
|
|
|
|
FROM pihole/pihole:${PIHOLE_DOCKER_TAG}
|
|
|
|
ENV DEBIAN_FRONTEND="noninteractive"
|
2021-10-21 05:30:34 +00:00
|
|
|
ENV DOTE_OPTS="-s 127.0.0.1:5053"
|
2023-02-19 03:09:54 +00:00
|
|
|
RUN curl -fsSLo /opt/dote https://github.com/chrisstaite/DoTe/releases/latest/download/dote_arm64 && \
|
|
|
|
chmod +x /opt/dote && \
|
|
|
|
usermod -aG pihole www-data; \
|
|
|
|
mkdir -p /etc/cont-init.d && \
|
2024-05-14 02:34:28 +00:00
|
|
|
echo -e "#!/bin/bash\nchmod +x /opt/dote\n/opt/dote \$DOTE_OPTS -d\n" > /etc/cont-init.d/10-dote.sh && \
|
2023-02-19 03:09:54 +00:00
|
|
|
chmod +x /etc/cont-init.d/10-dote.sh
|