Dockerfile 352 B

123456789101112131415161718
  1. FROM golang:1.9.1-stretch
  2. LABEL Description="Image for etcd DNS SRV testing"
  3. RUN apt update -y \
  4. && apt install -y \
  5. bind9 \
  6. dnsutils
  7. RUN mkdir /var/bind
  8. RUN chown bind /var/bind
  9. ADD Procfile /Procfile
  10. ADD run.sh /run.sh
  11. ADD etcd.zone named.conf /etc/bind/
  12. ADD resolv.conf /etc/resolv.conf
  13. RUN go get github.com/mattn/goreman
  14. CMD ["/run.sh"]