Files
zitadel/.devcontainer/devcontainer.json
T
Florian Forster d9df30df20 chore(go): make sure we use go 1.25 instead of 1.2.5x (#11601)
This pull request makes a minor update to the Go feature version in the
dev container configuration, ensuring compatibility with the latest
patch releases in the 1.25 series.

* Updated the Go feature version from `1.25.3` to `1.25` in
`.devcontainer/devcontainer.json` to allow for the latest patch version
to be used.
2026-02-16 20:51:51 +01:00

62 lines
1.4 KiB
JSON

{
"$schema": "https://raw.githubusercontent.com/devcontainers/spec/refs/heads/main/schemas/devContainer.schema.json",
"name": "Zitadel Devcontainer",
"dockerComposeFile": "docker-compose.yaml",
"service": "devcontainer",
"runServices": [
"devcontainer"
],
"workspaceFolder": "/workspaces/zitadel",
"forwardPorts": [
3000,
4200,
8080,
3100
],
"portsAttributes": {
"3000": {
"label": "Login",
"onAutoForward": "notify"
},
"4200": {
"label": "Console",
"onAutoForward": "notify"
},
"8080": {
"label": "API",
"onAutoForward": "notify"
},
"3100": {
"label": "Docs",
"onAutoForward": "notify"
}
},
"features": {
"ghcr.io/devcontainers/features/go:1": {
"version": "1.25"
},
"ghcr.io/devcontainers/features/docker-outside-of-docker": {},
"ghcr.io/schlich/devcontainer-features/cypress:1": {
"version": "14"
}
},
"containerEnv": {
"DEVCONTAINER_LOCAL_WORKSPACE_ROOT": "${localWorkspaceFolder}"
},
"remoteEnv": {
"PATH": "${containerEnv:PATH}:/workspaces/zitadel/.artifacts/bin/linux/amd64"
},
"postStartCommand": "echo 'export PATH=\"${PWD}/.artifacts/bin/$(go env GOOS)/$(go env GOARCH):$PATH\"' >> ~/.bashrc",
"customizations": {
"vscode": {
"extensions": [
"golang.Go",
"Angular.ng-template",
"dbaeumer.vscode-eslint",
"esbenp.prettier-vscode",
"nrwl.angular-console"
]
}
}
}