32 lines
776 B
JSON
32 lines
776 B
JSON
// For format details, see https://aka.ms/devcontainer.json. For config options, see the
|
|
// README at: https://github.com/devcontainers/templates/tree/main/src/go
|
|
{
|
|
"name": "Go",
|
|
"build": {
|
|
"dockerfile": "Dockerfile",
|
|
"args": {
|
|
"VARIANT": "1.21"
|
|
}
|
|
},
|
|
"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"
|
|
},
|
|
"extensions": [
|
|
"golang.Go",
|
|
"jinliming2.vscode-go-template",
|
|
"golang.go"
|
|
]
|
|
}
|
|
},
|
|
"features": {
|
|
"ghcr.io/devcontainers-contrib/features/apt-get-packages:1": {
|
|
"packages": "genisoimage"
|
|
}
|
|
}
|
|
} |