mirror of
https://github.com/go-gitea/gitea.git
synced 2026-04-27 07:19:59 +00:00
Upgrade the base devcontainer image to prevent the in-container toolchain upgrade from breaking `make build`. Solves #37373 Co-authored-by: Morgan PEYRE <morgan.peyre@brickcode.tech>
46 lines
1.2 KiB
JSON
46 lines
1.2 KiB
JSON
{
|
|
"name": "Gitea DevContainer",
|
|
"image": "mcr.microsoft.com/devcontainers/go:1.26-trixie",
|
|
"containerEnv": {
|
|
// override "local" from packaged version
|
|
"GOTOOLCHAIN": "auto"
|
|
},
|
|
"features": {
|
|
// installs nodejs into container
|
|
"ghcr.io/devcontainers/features/node:1": {
|
|
"version": "latest"
|
|
},
|
|
"ghcr.io/devcontainers/features/git-lfs:1.2.5": {},
|
|
"ghcr.io/jsburckhardt/devcontainer-features/uv:1": {},
|
|
"ghcr.io/devcontainers/features/python:1": {
|
|
"version": "3.14"
|
|
},
|
|
"ghcr.io/warrenbuckley/codespace-features/sqlite:1": {}
|
|
},
|
|
"customizations": {
|
|
"vscode": {
|
|
"settings": {},
|
|
"extensions": [
|
|
"editorconfig.editorconfig",
|
|
"dbaeumer.vscode-eslint",
|
|
"golang.go",
|
|
"stylelint.vscode-stylelint",
|
|
"DavidAnson.vscode-markdownlint",
|
|
"Vue.volar",
|
|
"ms-azuretools.vscode-docker",
|
|
"vitest.explorer",
|
|
"cweijan.vscode-database-client2",
|
|
"GitHub.vscode-pull-request-github",
|
|
"Azurite.azurite"
|
|
]
|
|
}
|
|
},
|
|
"portsAttributes": {
|
|
"3000": {
|
|
"label": "Gitea Web",
|
|
"onAutoForward": "notify"
|
|
}
|
|
},
|
|
"postCreateCommand": "make deps"
|
|
}
|