9 lines
217 B
Docker
9 lines
217 B
Docker
FROM alpine:3.19
|
|
|
|
# install packages
|
|
RUN apk add --no-cache tini bind
|
|
RUN rm -fr /var/cache/apk/*
|
|
|
|
# execute
|
|
ENTRYPOINT ["/sbin/tini", "--" ]
|
|
CMD ["/usr/sbin/named", "-c", "/etc/bind/named.conf", "-g", "-u", "named"]
|