From c68de745cc188509dfb229b1b50e9b8bb95efdd9 Mon Sep 17 00:00:00 2001 From: Chad Metcalf Date: Tue, 22 Oct 2019 13:58:24 -0700 Subject: [PATCH] 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). --- .devcontainer/Dockerfile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.devcontainer/Dockerfile b/.devcontainer/Dockerfile index c28b40e..2aab164 100644 --- a/.devcontainer/Dockerfile +++ b/.devcontainer/Dockerfile @@ -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 \ No newline at end of file