diff options
author | Mike Crute <mike@crute.us> | 2023-10-27 19:07:52 -0700 |
---|---|---|
committer | Mike Crute <mike@crute.us> | 2023-10-27 19:07:52 -0700 |
commit | 4d77db6d1738420367165a8f9f826ac0f0c7d411 (patch) | |
tree | 4a0399a848440a2e8e0f9b4a9ae9030bc4cceeef | |
parent | 0fd8fd6b0b78d0e2fc8cfdd029dad9cbb83c7437 (diff) | |
download | dockerfiles-4d77db6d1738420367165a8f9f826ac0f0c7d411.tar.bz2 dockerfiles-4d77db6d1738420367165a8f9f826ac0f0c7d411.tar.xz dockerfiles-4d77db6d1738420367165a8f9f826ac0f0c7d411.zip |
bind: cleanup
-rw-r--r-- | bind/Dockerfile | 11 |
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 | |||
2 | LABEL maintainer="Mike Crute <mike@crute.us>" | 2 | LABEL maintainer="Mike Crute <mike@crute.us>" |
3 | 3 | ||
4 | RUN set -euxo pipefail; \ | 4 | RUN 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 | ||
11 | ADD db.local /usr/share/bind/db.local | 9 | # The distro version is missing the root A and AAAA records |
10 | ADD db.local /var/bind/pri/localhost.zone | ||
12 | ADD entrypoint.sh / | 11 | ADD entrypoint.sh / |
13 | 12 | ||
14 | ENTRYPOINT [ "/entrypoint.sh" ] | 13 | ENTRYPOINT [ "/entrypoint.sh" ] |