devcontainer: Add Golang extension automatically
When using devcontainers in VSCode, install the Go extension automatically in the container. Signed-off-by: Paweł Gronowski <pawel.gronowski@docker.com>
This commit is contained in:
parent
137a9d6a4c
commit
12dea3fa9e
1 changed files with 9 additions and 1 deletions
|
@ -9,5 +9,13 @@
|
||||||
"workspaceMount": "source=${localWorkspaceFolder},target=/go/src/github.com/docker/docker,type=bind,consistency=cached",
|
"workspaceMount": "source=${localWorkspaceFolder},target=/go/src/github.com/docker/docker,type=bind,consistency=cached",
|
||||||
|
|
||||||
"remoteUser": "root",
|
"remoteUser": "root",
|
||||||
"runArgs": ["--privileged"]
|
"runArgs": ["--privileged"],
|
||||||
|
|
||||||
|
"customizations": {
|
||||||
|
"vscode": {
|
||||||
|
"extensions": [
|
||||||
|
"golang.go"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue