bind/Dockerfile

18 lines
354 B
Text
Raw Normal View History

2020-08-15 01:15:51 +02:00
FROM debian:buster
MAINTAINER Chris <bsod@zom.bi>
EXPOSE 53 53/udp
WORKDIR /root
# Install dependencies and sources
RUN \
apt-get update \
&& apt-get install --yes dnsutils bind9 \
# Trim down the image
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
VOLUME /etc/bind/
ENTRYPOINT ["/usr/sbin/named"]
CMD ["-f"]