mirror of
https://github.com/vimagick/dockerfiles.git
synced 2026-01-03 11:34:57 +01:00
add FTLDNS
This commit is contained in:
24
ftldns/Dockerfile
Normal file
24
ftldns/Dockerfile
Normal file
@@ -0,0 +1,24 @@
|
||||
#
|
||||
# Dockerfile for FTLDNS (pihole-FTL)
|
||||
#
|
||||
|
||||
FROM alpine:3
|
||||
MAINTAINER EasyPi Software Foundation
|
||||
|
||||
ARG FTL_VERSION=v5.23
|
||||
ARG FTL_URL=https://github.com/pi-hole/FTL/releases/download/$FTL_VERSION/pihole-FTL-musl-linux-x86_64
|
||||
|
||||
RUN set -xe \
|
||||
&& apk add --no-cache curl \
|
||||
&& echo "conf-dir=/etc/pihole/dnsmasq.d,*.conf" >> /etc/dnsmasq.conf \
|
||||
&& curl -sSL $FTL_URL -o /usr/bin/pihole-FTL \
|
||||
&& chmod +x /usr/bin/pihole-FTL \
|
||||
&& pihole-FTL --version \
|
||||
&& apk del curl
|
||||
|
||||
VOLUME /etc/pihole
|
||||
|
||||
EXPOSE 53/tcp \
|
||||
53/udp
|
||||
|
||||
CMD ["pihole-FTL", "-f"]
|
||||
Reference in New Issue
Block a user