diff --git a/.devcontainer/Dockerfile b/.devcontainer/Dockerfile index 2072142..1b40117 100644 --- a/.devcontainer/Dockerfile +++ b/.devcontainer/Dockerfile @@ -1,4 +1,4 @@ -FROM ubuntu:18.04 +FROM ubuntu:latest COPY . . diff --git a/.devcontainer/setup.sh b/.devcontainer/setup.sh index b4af16e..ea66cc7 100644 --- a/.devcontainer/setup.sh +++ b/.devcontainer/setup.sh @@ -6,7 +6,7 @@ useradd -m user su user # install go -VERSION='1.14' +VERSION='1.18.3' OS='linux' ARCH='amd64' @@ -19,22 +19,22 @@ echo "Go version ${INSTALLED_GO_VERSION} is installed" # install gopls, dlv, hey echo "Getting development tools" -go get -u golang.org/x/tools/gopls -go get -u github.com/go-delve/delve/cmd/dlv -go get -u github.com/rakyll/hey +# go get -u golang.org/x/tools/gopls +# go get -u github.com/go-delve/delve/cmd/dlv +# go get -u github.com/rakyll/hey # vscode-go dependencies echo "Getting dependencies for the vscode-go plugin " # via: https://github.com/microsoft/vscode-go/blob/master/.travis.yml -go get -u -v github.com/acroca/go-symbols -go get -u -v github.com/cweill/gotests/... -go get -u -v github.com/davidrjenni/reftools/cmd/fillstruct -go get -u -v github.com/haya14busa/goplay/cmd/goplay -go get -u -v github.com/mdempsky/gocode -go get -u -v github.com/ramya-rao-a/go-outline -go get -u -v github.com/rogpeppe/godef -go get -u -v github.com/sqs/goreturns -go get -u -v github.com/uudashr/gopkgs/cmd/gopkgs -go get -u -v github.com/zmb3/gogetdoc -go get -u -v golang.org/x/lint/golint -go get -u -v golang.org/x/tools/cmd/gorename +# go get -u -v github.com/acroca/go-symbols +# go get -u -v github.com/cweill/gotests/... +# go get -u -v github.com/davidrjenni/reftools/cmd/fillstruct +# go get -u -v github.com/haya14busa/goplay/cmd/goplay +# go get -u -v github.com/mdempsky/gocode +# go get -u -v github.com/ramya-rao-a/go-outline +# go get -u -v github.com/rogpeppe/godef +# go get -u -v github.com/sqs/goreturns +# go get -u -v github.com/uudashr/gopkgs/cmd/gopkgs +# go get -u -v github.com/zmb3/gogetdoc +# go get -u -v golang.org/x/lint/golint +# go get -u -v golang.org/x/tools/cmd/gorename