cli/.devcontainer/devcontainer.json

28 lines
619 B
JSON

{
"name": "CLI Go",
"build": {
"dockerfile": "Dockerfile",
"args": {
"VARIANT": "1.15",
"INSTALL_NODE": "false",
"NODE_VERSION": "lts/*"
}
},
"postCreateCommand": "go mod download",
"runArgs": [ "--cap-add=SYS_PTRACE", "--security-opt", "seccomp=unconfined" ],
"settings": {
"terminal.integrated.shell.linux": "/bin/bash",
"go.useGoProxyToCheckForToolUpdates": false,
"go.useLanguageServer": true,
"go.gopath": "/go",
"go.goroot": "/usr/local/go",
"go.toolsGopath": "/go/bin",
"go.lintTool":"golangci-lint",
"go.lintFlags": [
"--fast"
]
},
"extensions": [
"golang.Go"
]
}