Osmocom docker containers
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
docker-playground/bind9/Dockerfile

20 lines
403 B

FROM debian:stable
LABEL name="bind9" \
description="Bind9 DNS server" \
version="1.0" \
maintainer="laforge@gnumonks.org"
RUN apt-get update && \
apt-get install -y \
bind9 \
&& rm -rf /var/lib/apt/lists/* \
&& mkdir -p /run/named \
&& chown bind:bind /run/named
EXPOSE 53/tcp \
53/udp
VOLUME /etc/named
ENTRYPOINT ["/usr/sbin/named", "-c", "/etc/named/named.conf", "-u", "bind", "-g"]