Initial commit

This commit is contained in:
Lauri Võsandi 2021-10-04 19:48:21 +03:00
commit daf43a07ed
2 changed files with 10 additions and 0 deletions

9
Dockerfile Normal file
View File

@ -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

1
entrypoint.sh Executable file
View File

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