2023-11-26 10:26:19 +02:00
|
|
|
#
|
|
|
|
# Dockerfile for FTLDNS (pihole-FTL)
|
|
|
|
#
|
|
|
|
|
|
|
|
FROM alpine:3
|
2024-02-27 11:10:49 +02:00
|
|
|
#FROM debian:12-slim
|
2023-11-26 10:26:19 +02:00
|
|
|
MAINTAINER EasyPi Software Foundation
|
|
|
|
|
2024-02-23 07:04:10 +02:00
|
|
|
ARG FTL_VERSION=v5.25.1
|
2023-11-28 15:53:04 +02:00
|
|
|
ARG FTL_FILE=pihole-FTL-musl-linux-x86_64
|
2024-02-27 11:10:49 +02:00
|
|
|
#ARG FTL_FILE=pihole-FTL-aarch64-linux-gnu
|
2023-11-28 15:53:04 +02:00
|
|
|
ARG FTL_URL=https://github.com/pi-hole/FTL/releases/download/${FTL_VERSION}/${FTL_FILE}
|
2023-11-26 10:26:19 +02:00
|
|
|
|
|
|
|
RUN set -xe \
|
|
|
|
&& apk add --no-cache curl \
|
|
|
|
&& echo "conf-dir=/etc/pihole/dnsmasq.d,*.conf" >> /etc/dnsmasq.conf \
|
2023-11-28 15:53:04 +02:00
|
|
|
&& curl -sSL ${FTL_URL} -o /usr/bin/pihole-FTL \
|
2023-11-26 10:26:19 +02:00
|
|
|
&& chmod +x /usr/bin/pihole-FTL \
|
|
|
|
&& pihole-FTL --version \
|
|
|
|
&& apk del curl
|
|
|
|
|
|
|
|
VOLUME /etc/pihole
|
|
|
|
|
2023-11-28 15:34:22 +02:00
|
|
|
EXPOSE 4711/tcp \
|
|
|
|
53/tcp \
|
2023-11-26 10:26:19 +02:00
|
|
|
53/udp
|
|
|
|
|
|
|
|
CMD ["pihole-FTL", "-f"]
|