From 6de0c623484d86fbe1a0e7f3fdcd8e2028e7c64f Mon Sep 17 00:00:00 2001 From: Ventz Petkov Date: Wed, 26 Jun 2019 01:34:19 -0400 Subject: [PATCH] Upgrade to latest alpine which is now 3.10 and thus bind 9.14.3 - thanks to @ikluft for pointing this out. Also, it seems that Alpine 3.10 has removed rndc-config from the bind package, and it's now in bind-tools. --- README.md | 6 +++--- container/Dockerfile | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 17f4974..61c4f50 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ -### ISC BIND9 Container (Stable: 9.12.4_xx) built on top of Alpine -### Last update: 5-4-19 -### Latest Stable Docker Tag: 9.12.4_p2-r0 +### ISC BIND9 Container (Stable: 9.14.3_xx) built on top of Alpine +### Last update: 6-26-19 +### Latest Stable Docker Tag: 9.14.3-r0 NOTE: "Last Update" is the date of the latest DockerHub build. diff --git a/container/Dockerfile b/container/Dockerfile index bc84a19..ccec0cc 100644 --- a/container/Dockerfile +++ b/container/Dockerfile @@ -1,7 +1,7 @@ FROM alpine:latest EXPOSE 53 53/udp -RUN apk --update upgrade && apk add bind +RUN apk --update upgrade && apk add bind bind-tools # /etc/bind needs to be owned by root, group owned by "bind", and chmod 750 # since we are mounting, do it manually @@ -15,7 +15,7 @@ RUN apk --update upgrade && apk add bind RUN mkdir -m 0770 -p /etc/bind && chown -R root:named /etc/bind ; \ mkdir -m 0770 -p /var/cache/bind && chown -R named:named /var/cache/bind ; \ wget -q -O /etc/bind/bind.keys https://ftp.isc.org/isc/bind9/keys/9.11/bind.keys.v9_11 ; \ - rndc-confgen -a -r /dev/urandom + rndc-confgen -a COPY configs/. /etc/bind/