pdns-sqlite (alpine)
Published 2024-05-01 21:39:04 +00:00 by kenjreno
Installation
docker pull kjgr.io/kenjreno/pdns-sqlite:alpine
sha256:d2b9d557d0d4fc2d6dc38b0cbfabc53c079fbbb85cb2660f3373cf4f3b326663
Image Layers
ADD file:37a76ec18f9887751cd8473744917d08b7431fc4085097bb6a09d81b41775473 in / |
CMD ["/bin/sh"] |
/bin/sh -c arch=$([ "$(arch)" = 'aarch64' ] && echo -n 'arm64' || echo -n 'amd64') && apk update && apk upgrade && apk add sqlite pdns pdns-backend-sqlite3 pdns-doc && wget -O subvars.apk https://github.com/kha7iq/subvars/releases/download/v0.1.5/subvars_${arch}.apk && apk add --allow-untrusted subvars.apk && rm -rf subvars.apk /var/cache/apk/* |
/bin/sh -c mkdir -p /run/pdns && mkdir -p /var/lib/pdns && chown -R pdns: /etc/pdns /run/pdns /var/lib/pdns |
COPY multi:7558a891c2ac136b473f3f2f8a77375b14e5a57c67e6a4aebc2118a6ac7ef6a6 in / |
ENV VERSION=4.8 PDNS_guardian=yes PDNS_setuid=pdns PDNS_setgid=pdns PDNS_launch=gsqlite3 |
EXPOSE 53 53/udp |
HEALTHCHECK &{["CMD" "pdns_control" "ping"] "10s" "10s" "2s" "0s" '\x03'} |
ENTRYPOINT ["/docker-entrypoint.sh"] |
CMD ["/usr/sbin/pdns_server"] |