unifios-utilities/run-pihole/DoTE.Dockerfile

6 lines
287 B
Docker
Raw Normal View History

2022-07-12 10:30:59 +00:00
ARG VERSION=2022.07.1
2021-12-03 11:57:26 +00:00
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