Dockerfile 339 B

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