Block a user
netbox-stack/bind9 (9.20)
Installation
docker pull git.luethi.co/sven/netbox-stack/bind9:9.20sha256:59f752a52587de95c8c6cf0d92263c95ef8ae8096907c952519123945504d332
Image Layers
| ADD alpine-minirootfs-3.24.1-x86_64.tar.gz / # buildkit |
| CMD ["/bin/sh"] |
| LABEL org.opencontainers.image.authors=BIND 9 Developers <bind9-dev@isc.org> |
| ENV LC_ALL=C.UTF-8 |
| ARG UID=53 |
| ARG GID=53 |
| ARG BIND9_VERSION=9.20.24 |
| ARG BIND9_CHECKSUM=989fef1fc88ea59d04cd86f854dca5a4616a20a9968bcdde3c1a3668ab36be08 |
| RUN |4 UID=53 GID=53 BIND9_VERSION=9.20.24 BIND9_CHECKSUM=989fef1fc88ea59d04cd86f854dca5a4616a20a9968bcdde3c1a3668ab36be08 /bin/sh -c apk --no-cache update # buildkit |
| RUN |4 UID=53 GID=53 BIND9_VERSION=9.20.24 BIND9_CHECKSUM=989fef1fc88ea59d04cd86f854dca5a4616a20a9968bcdde3c1a3668ab36be08 /bin/sh -c apk --no-cache upgrade # buildkit |
| RUN /bin/sh -c apk --no-cache add fstrm jemalloc json-c krb5-libs libcap2 libidn2 libmaxminddb-libs libuv libxml2 lmdb nghttp2-libs procps protobuf-c tzdata userspace-rcu # buildkit |
| COPY /dist/ / # buildkit |
| RUN /bin/sh -c addgroup -S -g ${GID} bind && adduser -S -u ${UID} -H -h /var/cache/bind -G bind bind # buildkit |
| RUN /bin/sh -c mkdir -p /etc/bind && chown root:bind /etc/bind/ && chmod 755 /etc/bind # buildkit |
| COPY named.conf /etc/bind # buildkit |
| RUN /bin/sh -c chown root:bind /etc/bind/named.conf && chmod 644 /etc/bind/named.conf # buildkit |
| RUN /bin/sh -c mkdir -p /var/cache/bind && chown bind:bind /var/cache/bind && chmod 755 /var/cache/bind # buildkit |
| RUN /bin/sh -c mkdir -p /var/lib/bind && chown bind:bind /var/lib/bind && chmod 755 /var/lib/bind # buildkit |
| RUN /bin/sh -c mkdir -p /var/log/bind && chown bind:bind /var/log/bind && chmod 755 /var/log/bind # buildkit |
| RUN /bin/sh -c mkdir -p /run/named && chown bind:bind /run/named && chmod 755 /run/named # buildkit |
| VOLUME [/etc/bind /var/cache/bind /var/lib/bind /var/log] |
| EXPOSE map[443/tcp:{} 53/tcp:{} 53/udp:{} 853/tcp:{} 953/tcp:{}] |
| ENTRYPOINT ["/usr/sbin/named" "-u" "bind"] |
| CMD ["-f" "-c" "/etc/bind/named.conf" "-L" "/var/log/bind/default.log"] |
Labels
| Key | Value |
|---|---|
| org.opencontainers.image.authors | BIND 9 Developers <bind9-dev@isc.org> |