Files
etcd/e2e/docker-dns/Dockerfile
Gyu-Ho Lee 23a302364c Makefile: initial commit
Initial commit to run DNS/SRV tests.

Signed-off-by: Gyu-Ho Lee <gyuhox@gmail.com>
2017-10-05 09:47:33 -07:00

18 lines
365 B
Docker

FROM golang:1.9.1-stretch
LABEL Description="Image for etcd DNS testing"
RUN apt update -y \
&& apt install -y \
bind9 \
dnsutils
RUN mkdir /var/bind
RUN chown bind /var/bind
ADD Procfile.tls /Procfile.tls
ADD run.sh /run.sh
ADD named.conf etcd.zone rdns.zone /etc/bind/
ADD resolv.conf /etc/resolv.conf
RUN go get github.com/mattn/goreman
CMD ["/run.sh"]