diff options
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" ] |