From f1572c4b11690178c97a091a9b168feba0089d1c Mon Sep 17 00:00:00 2001 From: Stefan Huber Date: Tue, 17 Dec 2019 17:24:49 +0100 Subject: [PATCH] Docker container now includes the convertzone utility (#570) --- Dockerfile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Dockerfile b/Dockerfile index 28fe1b464..80e5d0584 100644 --- a/Dockerfile +++ b/Dockerfile @@ -5,10 +5,13 @@ RUN apk update && apk add git RUN go run build/build.go -os=linux RUN cp dnscontrol-Linux /go/bin/dnscontrol RUN dnscontrol version +RUN go build -o cmd/convertzone/convertzone cmd/convertzone/main.go +RUN cp cmd/convertzone/convertzone /go/bin/convertzone FROM alpine RUN apk add --no-cache ca-certificates COPY --from=build-env /go/bin/dnscontrol /usr/local/bin +COPY --from=build-env /go/bin/convertzone /usr/local/bin WORKDIR /dns RUN dnscontrol version CMD dnscontrol