1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30
| { "name": "{{{ .Title }}} Dev Container", "image": "mcr.microsoft.com/devcontainers/go:1-1.24-bookworm", "features": { "ghcr.io/devcontainers/features/go:1": { "version": "{{{ .GoMajorVersionSafe }}}" }, "ghcr.io/guiyomh/features/golangci-lint:0": { "version": "2.2.2" } }, "customizations": { "vscode": { "extensions": [ "Anthropic.claude-code", "eamodio.gitlens", "golang.go", "ms-azuretools.vscode-docker", "ms-vscode.makefile-tools", "sourcegraph.amp" ] } }, "onCreateCommand": "bin/bootstrap.sh", "forwardPorts": [ {{{ .Port }}}{{{$inc := .}}}{{{ range $k, $v := .PortOffsets }}}, {{{ $inc.PortIncremented $v }}}{{{ end }}} ], "remoteUser": "vscode" }
|