aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Crute <mike@crute.us>2023-10-27 19:07:52 -0700
committerMike Crute <mike@crute.us>2023-10-27 19:07:52 -0700
commit4d77db6d1738420367165a8f9f826ac0f0c7d411 (patch)
tree4a0399a848440a2e8e0f9b4a9ae9030bc4cceeef
parent0fd8fd6b0b78d0e2fc8cfdd029dad9cbb83c7437 (diff)
downloaddockerfiles-4d77db6d1738420367165a8f9f826ac0f0c7d411.tar.bz2
dockerfiles-4d77db6d1738420367165a8f9f826ac0f0c7d411.tar.xz
dockerfiles-4d77db6d1738420367165a8f9f826ac0f0c7d411.zip
bind: cleanup
-rw-r--r--bind/Dockerfile11
1 files changed, 5 insertions, 6 deletions
diff --git a/bind/Dockerfile b/bind/Dockerfile
index cb14681..b430c2f 100644
--- a/bind/Dockerfile
+++ b/bind/Dockerfile
@@ -2,13 +2,12 @@ FROM alpine:edge
2LABEL maintainer="Mike Crute <mike@crute.us>" 2LABEL maintainer="Mike Crute <mike@crute.us>"
3 3
4RUN set -euxo pipefail; \ 4RUN set -euxo pipefail; \
5 apk add --no-cache \ 5 apk add --no-cache bind bind-tools; \
6 bind \ 6 mkdir /var/log/bind; \
7 bind-tools \ 7 chown named:named /var/log/bind;
8 ; \
9 mkdir /var/log/bind; chown named:named /var/log/bind;
10 8
11ADD db.local /usr/share/bind/db.local 9# The distro version is missing the root A and AAAA records
10ADD db.local /var/bind/pri/localhost.zone
12ADD entrypoint.sh / 11ADD entrypoint.sh /
13 12
14ENTRYPOINT [ "/entrypoint.sh" ] 13ENTRYPOINT [ "/entrypoint.sh" ]