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