diff options
author | Mike Crute <mike@crute.us> | 2021-01-18 06:24:42 +0000 |
---|---|---|
committer | Mike Crute <mike@crute.us> | 2021-01-18 06:24:42 +0000 |
commit | cd833bc2852ec204fbaecde7ada56798eba005da (patch) | |
tree | 339dbe06f2f23040c2c2dfa1c8d0e22883d73acf /bind/Dockerfile | |
parent | 7b931a911ce0bd11eebe3b8059423ec43895c58f (diff) | |
download | dockerfiles-cd833bc2852ec204fbaecde7ada56798eba005da.tar.bz2 dockerfiles-cd833bc2852ec204fbaecde7ada56798eba005da.tar.xz dockerfiles-cd833bc2852ec204fbaecde7ada56798eba005da.zip |
bind: new hosting config update
Diffstat (limited to 'bind/Dockerfile')
-rw-r--r-- | bind/Dockerfile | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/bind/Dockerfile b/bind/Dockerfile index 677eaf4..bb23637 100644 --- a/bind/Dockerfile +++ b/bind/Dockerfile | |||
@@ -14,11 +14,13 @@ RUN set -euxo pipefail; \ | |||
14 | curl -o /etc/bind/db.root https://www.internic.net/domain/named.cache; | 14 | curl -o /etc/bind/db.root https://www.internic.net/domain/named.cache; |
15 | 15 | ||
16 | ADD conf/ /etc/bind/ | 16 | ADD conf/ /etc/bind/ |
17 | ADD bind_bootstrap / | 17 | ADD entrypoint.sh / |
18 | ADD zones.yaml /etc/bind/zones.yaml | 18 | #ADD bind_bootstrap / |
19 | #ADD zones.yaml /etc/bind/zones.yaml | ||
19 | 20 | ||
20 | RUN set -euxo pipefail; \ | 21 | RUN set -euxo pipefail; \ |
21 | chown -R named:named /etc/bind; | 22 | chown -R named:named /etc/bind; |
22 | 23 | ||
23 | ENTRYPOINT [ "/bind_bootstrap" ] | 24 | #ENTRYPOINT [ "/bind_bootstrap" ] |
25 | ENTRYPOINT [ "/entrypoint.sh" ] | ||
24 | CMD [ "/usr/sbin/named", "-u", "named", "-g" ] | 26 | CMD [ "/usr/sbin/named", "-u", "named", "-g" ] |