nsd-docker/Dockerfile
Jochen Welzel 729494e58f
All checks were successful
continuous-integration/drone/push Build is passing
add openssl and nsd-control-setup
2020-04-20 15:03:25 +02:00

14 lines
384 B
Docker

FROM alpine:latest
MAINTAINER Jochen Welzel
RUN apk update && apk upgrade && apk add bash && apk add openssl && apk add nsd
RUN mkdir -p /var/db/nsd/zones/master && mkdir /var/db/nsd/zones/slave && mkdir /var/run/nsd
COPY nsd.conf.example /tmp
COPY entrypoint.sh /
RUN chmod 755 /entrypoint.sh
EXPOSE 53/TCP 53/UDP
VOLUME ["/etc/nsd/", "/var/db/nsd"]
ENTRYPOINT ["/entrypoint.sh"]