diff --git a/.devcontainer/Dockerfile b/.devcontainer/Dockerfile index a6cb7ebe4b3..eb427931f0d 100644 --- a/.devcontainer/Dockerfile +++ b/.devcontainer/Dockerfile @@ -25,32 +25,25 @@ RUN apt-get update \ # Verify git, process tools, lsb-release (common in install instructions for CLIs) installed && apt-get -y install git iproute2 procps lsb-release \ # - # Install gocode-gomod - && go get -x -d github.com/stamblerre/gocode 2>&1 \ - && go build -o gocode-gomod github.com/stamblerre/gocode \ - && mv gocode-gomod $GOPATH/bin/ \ - # # Install Go tools - && go get -u -v \ - github.com/mdempsky/gocode \ - github.com/uudashr/gopkgs/cmd/gopkgs \ - github.com/ramya-rao-a/go-outline \ - github.com/acroca/go-symbols \ - github.com/godoctor/godoctor \ - golang.org/x/tools/cmd/gorename \ - github.com/rogpeppe/godef \ - github.com/zmb3/gogetdoc \ - github.com/haya14busa/goplay/cmd/goplay \ - github.com/sqs/goreturns \ - github.com/josharian/impl \ - github.com/davidrjenni/reftools/cmd/fillstruct \ - github.com/fatih/gomodifytags \ - github.com/cweill/gotests/... \ - golang.org/x/tools/cmd/goimports \ - golang.org/x/lint/golint \ - github.com/alecthomas/gometalinter 2>&1 \ - github.com/mgechev/revive \ - github.com/derekparker/delve/cmd/dlv 2>&1 \ + && go install github.com/uudashr/gopkgs/v2/cmd/gopkgs@latest \ + && go install github.com/ramya-rao-a/go-outline@latest \ + && go install github.com/acroca/go-symbols@latest \ + && go install github.com/godoctor/godoctor@latest \ + && go install golang.org/x/tools/cmd/gorename@latest \ + && go install github.com/rogpeppe/godef@latest \ + && go install github.com/zmb3/gogetdoc@latest \ + && go install github.com/haya14busa/goplay/cmd/goplay@latest \ + && go install github.com/sqs/goreturns@latest \ + && go install github.com/josharian/impl@latest \ + && go install github.com/davidrjenni/reftools/cmd/fillstruct@latest \ + && go install github.com/fatih/gomodifytags@latest \ + && go install github.com/cweill/gotests/...@latest \ + && go install golang.org/x/tools/cmd/goimports@latest \ + && go install golang.org/x/lint/golint@latest \ + && go install github.com/golangci/golangci-lint/cmd/golangci-lint@latest \ + && go install github.com/mgechev/revive@latest \ + && go install github.com/go-delve/delve/cmd/dlv@latest \ && go install honnef.co/go/tools/cmd/staticcheck@latest \ && go install golang.org/x/tools/gopls@latest \ # Protocol Buffer Compiler