remove the vendor from the standard build

Signed-off-by: Mikolaj Pawlikowski <mikolaj@pawlikowski.pl>
This commit is contained in:
Mikolaj Pawlikowski
2019-03-13 14:13:17 +00:00
parent 6de72deee0
commit bf43dcff98
+1 -4
View File
@@ -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"]