2023-10-25 15:50:21 +02:00
|
|
|
FROM alpine:latest
|
|
|
|
|
|
|
|
RUN apk add \
|
|
|
|
bash \
|
2023-10-25 15:50:22 +02:00
|
|
|
bind \
|
2023-10-25 15:50:21 +02:00
|
|
|
bind-tools \
|
|
|
|
execline \
|
|
|
|
nano \
|
|
|
|
nano-syntax \
|
|
|
|
openssl \
|
|
|
|
s6-overlay \
|
|
|
|
vim
|
|
|
|
|
2023-10-25 15:50:22 +02:00
|
|
|
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
|
2023-10-25 15:50:21 +02:00
|
|
|
|
|
|
|
COPY etc/s6-overlay /etc/s6-overlay
|
|
|
|
|
|
|
|
ENTRYPOINT ["/init"]
|