Initial commit

master
Lauri Võsandi 1 year ago
commit daf43a07ed
  1. 9
      Dockerfile
  2. 1
      entrypoint.sh

@ -0,0 +1,9 @@
FROM alpine
RUN apk add --no-cache bind
RUN mkdir /var/cache/bind
RUN chown nobody:nobody /var/cache/bind
COPY entrypoint.sh /entrypoint.sh
CMD /entrypoint.sh
VOLUME ["/etc/bind"]
EXPOSE 53/udp
EXPOSE 53/tcp

@ -0,0 +1 @@
/usr/sbin/named -u nobody -c /etc/bind/named.conf -g
Loading…
Cancel
Save