mirror of
https://github.com/vimagick/dockerfiles.git
synced 2025-12-21 13:23:02 +01:00
update ftldns
This commit is contained in:
@@ -3,10 +3,12 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
FROM alpine:3
|
FROM alpine:3
|
||||||
|
#FROM debian:12-slim
|
||||||
MAINTAINER EasyPi Software Foundation
|
MAINTAINER EasyPi Software Foundation
|
||||||
|
|
||||||
ARG FTL_VERSION=v5.25.1
|
ARG FTL_VERSION=v5.25.1
|
||||||
ARG FTL_FILE=pihole-FTL-musl-linux-x86_64
|
ARG FTL_FILE=pihole-FTL-musl-linux-x86_64
|
||||||
|
#ARG FTL_FILE=pihole-FTL-aarch64-linux-gnu
|
||||||
ARG FTL_URL=https://github.com/pi-hole/FTL/releases/download/${FTL_VERSION}/${FTL_FILE}
|
ARG FTL_URL=https://github.com/pi-hole/FTL/releases/download/${FTL_VERSION}/${FTL_FILE}
|
||||||
|
|
||||||
RUN set -xe \
|
RUN set -xe \
|
||||||
|
|||||||
@@ -15,7 +15,7 @@ $ docker compose exec ftldns pihole-FTL sql -h gravity.db
|
|||||||
>>> insert into domainlist(type, domain) values (3, '(\.|^)youtube\.com$');
|
>>> insert into domainlist(type, domain) values (3, '(\.|^)youtube\.com$');
|
||||||
>>> .quit
|
>>> .quit
|
||||||
|
|
||||||
$ docker compose exec ftldns kill -RTMIN 1
|
$ docker compose kill -s RTMIN ftldns
|
||||||
|
|
||||||
$ dig @127.0.0.1 -p 53 www.youtube.com
|
$ dig @127.0.0.1 -p 53 www.youtube.com
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user