Files
go/.devcontainer/devcontainer.json
2019-08-05 23:30:46 +00:00

20 lines
432 B
JSON

{
"name": "Go",
"dockerFile": "Dockerfile",
"appPort": 9000,
"extensions": [
"ms-vscode.go"
],
"runArgs": [
// Comment out the next line to run as root instead. Linux users,
// update Dockerfile with your user's UID/GID if not 1000.
"-u", "vscode",
"--cap-add=SYS_PTRACE", "--security-opt", "seccomp=unconfined"
],
"settings": {
"go.gopath": "/go",
"go.inferGopath": true,
"go.useLanguageServer": true
}
}