landingpage/.devcontainer/devcontainer.json

25 lines
561 B
JSON

{
"name": "Landingpage",
"build": {
"dockerfile": "Dockerfile",
},
"appPort": [ "8830:8123" ],
"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"
]
}