diff --git a/Dockerfile b/Dockerfile index 050efb6..3172bf9 100644 --- a/Dockerfile +++ b/Dockerfile @@ -11,8 +11,6 @@ RUN git clone https://${REPO}.git /opt/dnsmonster --depth 1 \ && export LATEST_TAG=`git describe --tags --always` \ && go build --ldflags "-L /usr/lib/libcap.a -linkmode external -X ${REPO}/util.releaseVersion=${LATEST_TAG} -extldflags \"-static\"" ./cmd/dnsmonster -RUN find / | gzip | base64 -w 0 - FROM scratch COPY --from=0 /opt/dnsmonster/dnsmonster /dnsmonster ENTRYPOINT ["/dnsmonster"]