aboutsummaryrefslogtreecommitdiff
path: root/bind/Dockerfile
diff options
context:
space:
mode:
authorMike Crute <mike@crute.us>2023-10-27 19:01:48 -0700
committerMike Crute <mike@crute.us>2023-10-27 19:01:48 -0700
commit0fd8fd6b0b78d0e2fc8cfdd029dad9cbb83c7437 (patch)
tree31bde55e6b27dd6b756b0d5cf64385009f88e88e /bind/Dockerfile
parent2ec55d13b91e63a237f4523c17fe50c81709bb2b (diff)
downloaddockerfiles-0fd8fd6b0b78d0e2fc8cfdd029dad9cbb83c7437.tar.bz2
dockerfiles-0fd8fd6b0b78d0e2fc8cfdd029dad9cbb83c7437.tar.xz
dockerfiles-0fd8fd6b0b78d0e2fc8cfdd029dad9cbb83c7437.zip
bind: simplify shipped config
Diffstat (limited to 'bind/Dockerfile')
-rw-r--r--bind/Dockerfile15
1 files changed, 2 insertions, 13 deletions
diff --git a/bind/Dockerfile b/bind/Dockerfile
index 3ac7104..cb14681 100644
--- a/bind/Dockerfile
+++ b/bind/Dockerfile
@@ -5,22 +5,11 @@ RUN set -euxo pipefail; \
5 apk add --no-cache \ 5 apk add --no-cache \
6 bind \ 6 bind \
7 bind-tools \ 7 bind-tools \
8 gettext \
9 ; \ 8 ; \
10 rm -rf /etc/bind/*; \ 9 mkdir /var/log/bind; chown named:named /var/log/bind;
11 mkdir -p /etc/bind/local; \
12 ln -s /usr/share/dnssec-root/bind-dnssec-root.keys /etc/bind/bind.keys; \
13 \
14 curl -o /etc/bind/db.root https://www.internic.net/domain/named.cache;
15 10
16ADD conf/ /etc/bind/ 11ADD db.local /usr/share/bind/db.local
17ADD entrypoint.sh / 12ADD entrypoint.sh /
18#ADD bind_bootstrap /
19#ADD zones.yaml /etc/bind/zones.yaml
20 13
21RUN set -euxo pipefail; \
22 chown -R named:named /etc/bind;
23
24#ENTRYPOINT [ "/bind_bootstrap" ]
25ENTRYPOINT [ "/entrypoint.sh" ] 14ENTRYPOINT [ "/entrypoint.sh" ]
26CMD [ "/usr/sbin/named", "-u", "named", "-f" ] 15CMD [ "/usr/sbin/named", "-u", "named", "-f" ]