Dockerfile 493 B

123456789101112131415161718192021
  1. FROM alpine:3.7
  2. RUN apk add --no-cache bind \
  3. && mkdir -p /var/bind/infoclinica \
  4. && chown -R named:named /var/bind/infoclinica \
  5. && rm -rf /var/cache/apk/*
  6. EXPOSE 53/tcp 53/udp
  7. #VOLUME ["/var/lib/bind"]
  8. COPY workdir/* /var/bind/
  9. COPY example/config/named.conf /etc/bind/
  10. COPY infoclinica.lan.zone \
  11. 201.168.192.in-addr.arpa.zone \
  12. 204.168.192.in-addr.arpa.zone \
  13. 205.168.192.in-addr.arpa.zone \
  14. /var/bind/infoclinica/
  15. CMD ["/usr/sbin/named", "-f", "-g"]