unifios-utilities/run-pihole/DoTE.Dockerfile
2023-01-31 04:53:02 -08:00

6 lines
288 B
Docker

ARG VERSION=2023.01.10
FROM pihole/pihole:${VERSION}
ENV DOTE_OPTS="-s 127.0.0.1:5053"
RUN echo -e "#!/bin/sh\ncurl -fsSLo /opt/dote https://github.com/chrisstaite/DoTe/releases/latest/download/dote_arm64\nchmod +x /opt/dote\n/opt/dote \\\$DOTE_OPTS -d\n" > /etc/cont-init.d/10-dote.sh