libbind9-bind9-test-container (sha256:3ceb11c2671ca61bfaf9a3bd0211f669d08eb6d4f06db9aa6920f9be33cd28fe)
Published 2026-06-25 19:39:46 +05:30 by realaravinth
Installation
docker pull git.batsense.net/librepages/libbind9-bind9-test-container@sha256:3ceb11c2671ca61bfaf9a3bd0211f669d08eb6d4f06db9aa6920f9be33cd28fesha256:3ceb11c2671ca61bfaf9a3bd0211f669d08eb6d4f06db9aa6920f9be33cd28feImage layers
| # debian.sh --arch 'amd64' out/ 'trixie' '@1782172800' |
| RUN /bin/sh -c apt update && apt-get install -y bind9 bind9utils dnsutils # buildkit |
| COPY ./config/named.conf /etc/bind/named.conf # buildkit |
| RUN /bin/sh -c rndc-confgen -a # buildkit |
| RUN /bin/sh -c cat /etc/bind/rndc.key >> /etc/bind/named.conf # buildkit |
| RUN /bin/sh -c chown root:bind /etc/bind/rndc.key # buildkit |
| RUN /bin/sh -c mkdir -p /tmp/libbind9-tests/libbind9/imports # buildkit |
| RUN /bin/sh -c mkdir -p /tmp/libbind9-tests-cache/bind # buildkit |
| RUN /bin/sh -c touch /tmp/libbind9-tests/libbind9/imports/named.libbind9.conf # buildkit |
| RUN /bin/sh -c usermod -u 1001 bind # buildkit |
| USER bind |
| EXPOSE [53/udp] |
| EXPOSE [53/tcp] |
| CMD ["/usr/sbin/named" "-g" "-c" "/etc/bind/named.conf"] |