Initial commit
This commit is contained in:
commit
71b8803f6b
3 changed files with 64 additions and 0 deletions
17
Dockerfile
Normal file
17
Dockerfile
Normal file
|
@ -0,0 +1,17 @@
|
|||
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"]
|
Loading…
Add table
Add a link
Reference in a new issue