Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Ubuntu and Go version #4

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .devcontainer/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM ubuntu:18.04
FROM ubuntu:latest

COPY . .

Expand Down
32 changes: 16 additions & 16 deletions .devcontainer/setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ useradd -m user
su user

# install go
VERSION='1.14'
VERSION='1.18.3'

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
VERSION='1.18.3'
VERSION='1.19.3'

OS='linux'
ARCH='amd64'

Expand All @@ -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