blob: b430c2f05af928cc46dba72d298c7355c07e5128 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
FROM alpine:edge
LABEL maintainer="Mike Crute <mike@crute.us>"
RUN set -euxo pipefail; \
apk add --no-cache bind bind-tools; \
mkdir /var/log/bind; \
chown named:named /var/log/bind;
# The distro version is missing the root A and AAAA records
ADD db.local /var/bind/pri/localhost.zone
ADD entrypoint.sh /
ENTRYPOINT [ "/entrypoint.sh" ]
CMD [ "/usr/sbin/named", "-u", "named", "-f" ]
|