mirror of
https://github.com/vimagick/dockerfiles.git
synced 2025-12-21 21:33:02 +01:00
update ftldns
This commit is contained in:
@@ -6,12 +6,13 @@ FROM alpine:3
|
|||||||
MAINTAINER EasyPi Software Foundation
|
MAINTAINER EasyPi Software Foundation
|
||||||
|
|
||||||
ARG FTL_VERSION=v5.23
|
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 \
|
RUN set -xe \
|
||||||
&& apk add --no-cache curl \
|
&& apk add --no-cache curl \
|
||||||
&& echo "conf-dir=/etc/pihole/dnsmasq.d,*.conf" >> /etc/dnsmasq.conf \
|
&& 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 \
|
&& chmod +x /usr/bin/pihole-FTL \
|
||||||
&& pihole-FTL --version \
|
&& pihole-FTL --version \
|
||||||
&& apk del curl
|
&& apk del curl
|
||||||
|
|||||||
Reference in New Issue
Block a user