azure-container-networking/.devcontainer/devcontainer.json

68 строки
1.7 KiB
JSON

// For format details, see https://aka.ms/devcontainer.json. For config options, see the README at:
// https://github.com/microsoft/vscode-dev-containers/tree/v0.203.0/containers/go
{
"name": "Go",
"build": {
"dockerfile": "Dockerfile",
"args": {
"VARIANT": "1.23-bullseye",
"NODE_VERSION": "none"
}
},
"runArgs": [
"--init",
"--cap-add=SYS_PTRACE",
"--security-opt",
"seccomp=unconfined"
],
"customizations": {
"codespaces": {},
"vscode": {
"settings": {
"editor.formatOnSave": true,
"files.autoSave": "onFocusChange",
"files.insertFinalNewline": true,
"git.allowForcePush": true,
"git.alwaysSignOff": true,
"git.autoStash": true,
"git.autofetch": "all",
"git.branchSortOrder": "alphabetically",
"git.enableCommitSigning": true,
"git.fetchOnPull": true,
"git.pruneOnFetch": true,
"git.rebaseWhenSync": true,
"go.coverOnSave": true,
"go.coverOnSingleTest": true,
"go.coverOnSingleTestFile": true,
"go.formatTool": "gofumpt",
"go.gopath": "/go",
"go.goroot": "/usr/local/go",
"go.lintTool": "golangci-lint",
"go.testOnSave": true,
"go.toolsManagement.autoUpdate": true,
"go.toolsManagement.checkForUpdates": "local",
"go.useLanguageServer": true
},
"extensions": [
"bierner.github-markdown-preview",
"gitHub.codespaces",
"ms-vscode-remote.vscode-remote-extensionpack",
"golang.go",
"ms-vsliveshare.vsliveshare-pack",
"redhat.vscode-yaml",
"eamodio.gitlens"
]
}
},
"postCreateCommand": "make setup",
"remoteUser": "vscode",
"features": {
"docker-in-docker": "latest",
"kubectl-helm-minikube": "latest",
"git": "latest",
"git-lfs": "latest",
"github-cli": "latest",
"azure-cli": "latest"
}
}