Since `gh` uses Go 1.23, the devcontainer needs to be updated to allow building `gh` in a fresh codespace.
24 lines
447 B
JSON
24 lines
447 B
JSON
{
|
|
"image": "mcr.microsoft.com/devcontainers/go:1.23",
|
|
"features": {
|
|
"ghcr.io/devcontainers/features/sshd:1": {}
|
|
},
|
|
"remoteUser": "vscode",
|
|
"customizations": {
|
|
"vscode": {
|
|
"extensions": [
|
|
"golang.go"
|
|
],
|
|
"settings": {
|
|
"go.toolsManagement.checkForUpdates": "local",
|
|
"go.useLanguageServer": true,
|
|
"go.gopath": "/go"
|
|
}
|
|
}
|
|
},
|
|
"runArgs": [
|
|
"--cap-add=SYS_PTRACE",
|
|
"--security-opt",
|
|
"seccomp=unconfined"
|
|
]
|
|
}
|