pdns-pgsql (sha256:9eade3651a95f8220c7843418ae8d7aee6e2dde0e19c1289e4e5019fc6096636)

Published 2024-08-16 22:11:26 +00:00 by kenjreno

Installation

docker pull kjgr.io/kenjreno/pdns-pgsql@sha256:9eade3651a95f8220c7843418ae8d7aee6e2dde0e19c1289e4e5019fc6096636
sha256:9eade3651a95f8220c7843418ae8d7aee6e2dde0e19c1289e4e5019fc6096636

Image Layers

ADD file:d0764a717d1e9d0aff3fa84779b11bfa0afe4430dcb6b46d965b209167639ba0 in /
CMD ["/bin/sh"]
RUN /bin/sh -c arch=$([ "$(arch)" = 'aarch64' ] && echo -n 'arm64' || echo -n 'amd64') && apk update && apk upgrade && apk add pdns pdns-backend-pgsql pdns-doc postgresql16-client && 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/* # buildkit
RUN /bin/sh -c mkdir -p /run/pdns && chown -R pdns: /etc/pdns /run/pdns # buildkit
COPY pdns.conf.tpl docker-entrypoint.sh / # buildkit
ENV VERSION=4.8 PDNS_guardian=yes PDNS_setuid=pdns PDNS_setgid=pdns PDNS_launch=gpgsql
EXPOSE map[53/tcp:{} 53/udp:{}]
HEALTHCHECK &{["CMD" "pdns_control" "ping"] "10s" "10s" "2s" "0s" '\x03'}
ENTRYPOINT ["/docker-entrypoint.sh"]
CMD ["/usr/sbin/pdns_server"]
Details
Container
2024-08-16 22:11:26 +00:00
0
OCI / Docker
linux/arm64
17 MiB
Versions (2) View all
alpine 2024-08-16
latest 2024-08-07