coder / sail

Deprecated: Instant, pre-configured VS Code development environments.
https://sail.dev
MIT License
629 stars 36 forks source link

Fix GOPATH in ubuntu-dev-go image #231

Closed deansheather closed 5 years ago

deansheather commented 5 years ago

This changes the GOPATH from /go to ~/go. Additionally, this adds a few extra Go tools that vscode-go expects to be installed (so the user won't need to install them manually).

The GOPATH creation stuff was moved from Dockerfile.comm to Dockerfile.lang as it needs to be created as the user the container runs as.

Closes #230.