FROM docker.io/debian:12-slim RUN apt-get update \ && apt-get install -y --no-install-recommends \ bind9 \ && rm -rf /var/lib/apt/lists/* COPY bind/ /etc/bind/ VOLUME /cache/ CMD ["/usr/sbin/named", "-f"]