e4a017ce06
Co-authored-by: Francesco Renzi <rentziass@github.com> Co-authored-by: Nikola Jokic <jokicnikola07@gmail.com>
34 lines
860 B
JSON
34 lines
860 B
JSON
{
|
|
"build": {
|
|
"dockerfile": "Dockerfile"
|
|
},
|
|
"features": {
|
|
"ghcr.io/devcontainers/features/sshd:1": "latest",
|
|
"ghcr.io/devcontainers/features/github-cli:1": {},
|
|
// Node is here only to support Copilot extension
|
|
"ghcr.io/devcontainers/features/node:1": {}
|
|
},
|
|
"hostRequirements": {
|
|
"cpus": 8,
|
|
"memory": "16gb"
|
|
},
|
|
"customizations": {
|
|
"vscode": {
|
|
// Add the IDs of extensions you want installed when the container is created.
|
|
"extensions": [
|
|
"golang.Go",
|
|
"github.copilot"
|
|
],
|
|
// Set *default* container specific settings.json values on container create.
|
|
"settings": {
|
|
"go.toolsManagement.checkForUpdates": "local",
|
|
"go.useLanguageServer": true,
|
|
"go.gopath": "/go",
|
|
"gopls": {
|
|
"formatting.gofumpt": true
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|