Add go src to the cleanup.

This saves about 130 megs. Not a huge deal if local but if folks end up
pushing to a registry is nice (~>10% reduction).
This commit is contained in:
Chad Metcalf
2019-10-22 13:58:24 -07:00
parent 08f29d614b
commit c68de745cc

View File

@@ -64,7 +64,10 @@ RUN go get -x -d github.com/stamblerre/gocode 2>&1 \
honnef.co/go/tools/... \
github.com/golangci/golangci-lint/cmd/golangci-lint \
github.com/mgechev/revive \
github.com/derekparker/delve/cmd/dlv 2>&1
github.com/derekparker/delve/cmd/dlv 2>&1 \
#
# Clean up
&& rm -rf /go/src
# Uncomment the line below if you are using go modules
# ENV GO111MODULE=on