diff options
Diffstat (limited to 'bind9')
-rw-r--r-- | bind9/Dockerfile | 9 | ||||
-rw-r--r-- | bind9/README.md | 7 |
2 files changed, 16 insertions, 0 deletions
diff --git a/bind9/Dockerfile b/bind9/Dockerfile new file mode 100644 index 0000000..61a5f7a --- /dev/null +++ b/bind9/Dockerfile @@ -0,0 +1,9 @@ +FROM alpine:3.19 + +# install packages +RUN apk add --no-cache tini bind +RUN rm -fr /var/cache/apk/* + +# execute +ENTRYPOINT ["/sbin/tini", "--" ] +CMD ["/usr/sbin/named", "-c", "/etc/bind/named.conf", "-g", "-u", "named"] diff --git a/bind9/README.md b/bind9/README.md new file mode 100644 index 0000000..806c93f --- /dev/null +++ b/bind9/README.md @@ -0,0 +1,7 @@ +### images/bind9 + +runs a bind9 server! + +#### config + +the named.conf file is loaded from /etc/bind/named.conf, put a volume at /etc/bind to modify it. |