From bf43dcff9873b6af0979f6163bb929e082b33a6c Mon Sep 17 00:00:00 2001 From: Mikolaj Pawlikowski Date: Wed, 13 Mar 2019 14:13:17 +0000 Subject: [PATCH] remove the vendor from the standard build Signed-off-by: Mikolaj Pawlikowski --- Dockerfile | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index 651e40c..192961c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -20,8 +20,5 @@ RUN make bin/goldpinger FROM scratch COPY --from=builder /go/src/github.com/bloomberg/goldpinger/bin/goldpinger /goldpinger -# for lincensing reasons, we include all sources going into the binary -COPY --from=builder /go/src/github.com/bloomberg/goldpinger/vendor /goldpinger-vendor-sources COPY ./static /static -ENTRYPOINT ["/goldpinger", "--static-file-path", "/static"] - +ENTRYPOINT ["/goldpinger", "--static-file-path", "/static"] \ No newline at end of file