34 lines
1016 B
JSON
34 lines
1016 B
JSON
// Config reference, https://containers.dev/implementors/json_reference/
|
|
{
|
|
"dockerComposeFile": "docker-compose.yml",
|
|
"service": "app",
|
|
"shutdownAction": "stopCompose",
|
|
"workspaceFolder": "/workspaces/${localWorkspaceFolderBasename}",
|
|
// Configure tool-specific properties.
|
|
"customizations": {
|
|
"vscode": {
|
|
"settings": {
|
|
"[go]": {
|
|
"editor.defaultFormatter": "golang.go"
|
|
},
|
|
"go.buildTags": "testtools",
|
|
"go.lintTool": "golangci-lint",
|
|
"gopls": {
|
|
"formatting.gofumpt": true,
|
|
"formatting.local": "go.equinixmetal.net/infra9-metal-bridge"
|
|
}
|
|
},
|
|
// Add the IDs of extensions you want installed when the container is created.
|
|
"extensions": [
|
|
"golang.Go",
|
|
"ms-azuretools.vscode-docker",
|
|
"GraphQL.vscode-graphql"
|
|
]
|
|
}
|
|
},
|
|
"features": {
|
|
"ghcr.io/devcontainers/features/docker-in-docker:2": {},
|
|
"ghcr.io/devcontainers/features/sshd:1": {}
|
|
},
|
|
"postStartCommand": "/workspaces/${localWorkspaceFolderBasename}/.devcontainer/scripts/nats_stream.sh"
|
|
} |