diff options
author | Samruddhi Khandale <skhandale@microsoft.com> | 2022-09-16 23:51:35 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-09-16 23:51:35 +0300 |
commit | ef939f908c43bf89ade5d2153a751c7ee47989cc (patch) | |
tree | 922b6ab76def08ccaed7e0b74f362493ae3e0041 /src/go/devcontainer-feature.json | |
parent | 987ebe8ea69f59e543e9f961eba5d4a1d0c2821f (diff) |
Go - Adds `/go/bin` to PATH (#162)
* bug fix
* adds more checks
* adds GOROOT
* revert GOPATH changes
Diffstat (limited to 'src/go/devcontainer-feature.json')
-rw-r--r-- | src/go/devcontainer-feature.json | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/go/devcontainer-feature.json b/src/go/devcontainer-feature.json index f7ee1ad..cb30c5b 100644 --- a/src/go/devcontainer-feature.json +++ b/src/go/devcontainer-feature.json @@ -26,8 +26,9 @@ } }, "containerEnv": { - "GOPATH": "/usr/local/go", - "PATH": "/usr/local/go/bin:${PATH}" + "GOROOT": "/usr/local/go", + "GOPATH": "/go", + "PATH": "/usr/local/go/bin:/go/bin:${PATH}" }, "capAdd": [ "SYS_PTRACE" |