tonyslist/.devcontainer/devcontainer.json
2022-11-30 02:20:43 +00:00

35 lines
1013 B
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.241.1/containers/go
{
"build": {
"dockerfile": "../Dockerfile",
"target": "dev"
},
"postCreateCommand": "npm install",
// Configure tool-specific properties.
"customizations": {
// Configure properties specific to VS Code.
"vscode": {
// Set *default* container specific settings.json values on container create.
"settings": {
"go.toolsManagement.checkForUpdates": "local",
"go.useLanguageServer": true,
"go.gopath": "/go"
},
// Add the IDs of extensions you want installed when the container is created.
"extensions": [
"golang.Go",
"eamodio.gitlens",
"adrianwilczynski.alpine-js-intellisense",
"bradlc.vscode-tailwindcss",
"esbenp.prettier-vscode",
"ryanluker.vscode-coverage-gutters"
]
}
},
"runArgs": [
"--cap-add=SYS_PTRACE",
"--security-opt",
"seccomp=unconfined"
]
}