mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-12-25 15:53:36 +01:00
18e0647c84
![image](https://github.com/go-gitea/gitea/assets/18380374/963dc021-ac9b-4713-8344-654f966c80a4) The default version is 3.9.2, which is not supported by poetry. --------- Co-authored-by: silverwind <me@silverwind.io> (cherry picked from commit b253463e959c44cbd212fe1d662f2520ebfe38e6)
40 lines
1.1 KiB
JSON
40 lines
1.1 KiB
JSON
{
|
|
"name": "Gitea DevContainer",
|
|
"image": "mcr.microsoft.com/devcontainers/go:1.21-bullseye",
|
|
"features": {
|
|
// installs nodejs into container
|
|
"ghcr.io/devcontainers/features/node:1": {
|
|
"version":"20"
|
|
},
|
|
"ghcr.io/devcontainers/features/git-lfs:1.1.0": {},
|
|
"ghcr.io/devcontainers-contrib/features/poetry:2": {},
|
|
"ghcr.io/devcontainers/features/python:1": {
|
|
"version": "3.12"
|
|
}
|
|
},
|
|
"customizations": {
|
|
"vscode": {
|
|
"settings": {},
|
|
// same extensions as Gitpod, should match /.gitpod.yml
|
|
"extensions": [
|
|
"editorconfig.editorconfig",
|
|
"dbaeumer.vscode-eslint",
|
|
"golang.go",
|
|
"stylelint.vscode-stylelint",
|
|
"DavidAnson.vscode-markdownlint",
|
|
"Vue.volar",
|
|
"ms-azuretools.vscode-docker",
|
|
"zixuanchen.vitest-explorer",
|
|
"qwtel.sqlite-viewer",
|
|
"GitHub.vscode-pull-request-github"
|
|
]
|
|
}
|
|
},
|
|
"portsAttributes": {
|
|
"3000": {
|
|
"label": "Gitea Web",
|
|
"onAutoForward": "notify"
|
|
}
|
|
},
|
|
"postCreateCommand": "make deps"
|
|
}
|