1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2025-01-02 03:37:40 +02:00

update ftldns

This commit is contained in:
kevin 2023-11-28 21:53:04 +08:00
parent 20d29f58c6
commit 5e55c5868f

View File

@ -6,12 +6,13 @@ 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
ARG FTL_FILE=pihole-FTL-musl-linux-x86_64
ARG FTL_URL=https://github.com/pi-hole/FTL/releases/download/${FTL_VERSION}/${FTL_FILE}
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 \
&& curl -sSL ${FTL_URL} -o /usr/bin/pihole-FTL \
&& chmod +x /usr/bin/pihole-FTL \
&& pihole-FTL --version \
&& apk del curl