pdns-recursor (sha256:0a786d21dfd4ec5e0625d1f9697492c84ec8098ed0ba89e4aa44139126a09ce2)

Published 2024-08-16 22:51:30 +00:00 by kenjreno

Installation

docker pull kjgr.io/kenjreno/pdns-recursor@sha256:0a786d21dfd4ec5e0625d1f9697492c84ec8098ed0ba89e4aa44139126a09ce2
sha256:0a786d21dfd4ec5e0625d1f9697492c84ec8098ed0ba89e4aa44139126a09ce2

Image Layers

LABEL maintainer=Clement Verna <cverna@fedoraproject.org>
ENV DISTTAG=f39container FGC=f39 FBR=f39
ADD fedora-39-x86_64.tar.xz / # buildkit
CMD ["/bin/bash"]
RUN /bin/sh -c arch=$([ "$(arch)" = 'aarch64' ] && echo -n 'arm64' || echo -n 'amd64') && echo 'install_weak_deps=False' >> /etc/dnf/dnf.conf && echo 'assumeyes=True' >> /etc/dnf/dnf.conf && sed -i 's/enabled=1/enabled=0/g' /etc/yum.repos.d/fedora-cisco-openh264.repo && dnf --refresh upgrade && dnf install pdns-recursor https://github.com/kha7iq/subvars/releases/download/v0.1.5/subvars_${arch}.rpm && dnf clean all # buildkit
RUN /bin/sh -c mkdir -p /etc/pdns-recursor/api.d /run/pdns-recursor && chown -R pdns-recursor: /etc/pdns-recursor /run/pdns-recursor # buildkit
COPY recursor.conf.tpl docker-entrypoint.sh / # buildkit
ENV VERSION=4.9 PDNS_setuid=pdns-recursor PDNS_setgid=pdns-recursor PDNS_daemon=no
EXPOSE map[53/tcp:{} 53/udp:{}]
HEALTHCHECK &{["CMD" "rec_control" "ping"] "10s" "10s" "2s" "0s" '\x03'}
ENTRYPOINT ["/docker-entrypoint.sh"]
CMD ["/usr/sbin/pdns_recursor"]

Labels

Key Value
maintainer Clement Verna <cverna@fedoraproject.org>
Details
Container
2024-08-16 22:51:30 +00:00
0
OCI / Docker
linux/amd64
77 MiB
Versions (2) View all
latest 2024-08-16
alpine 2024-08-16