spf-dkim-dmarc-demo/dns/Dockerfile

21 lines
400 B
Docker

FROM alpine:latest
RUN apk add \
bash \
bind \
bind-tools \
execline \
nano \
nano-syntax \
openssl \
s6-overlay \
vim
RUN install -o named -g root -m 0755 -d /var/db/bind
COPY --chown=named:root etc/bind/named.conf /etc/bind/named.conf
COPY --chown=named:root zones /etc/bind/zones
COPY etc/s6-overlay /etc/s6-overlay
ENTRYPOINT ["/init"]