unifios-utilities/run-pihole/DoTE.Dockerfile
2021-12-03 03:57:26 -08:00

6 lines
284 B
Docker

ARG VERSION=latest
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