mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-12-27 10:20:39 +00:00
35 lines
832 B
JSON
35 lines
832 B
JSON
|
{
|
||
|
"name": "Gitea DevContainer",
|
||
|
"image": "mcr.microsoft.com/devcontainers/go:1.20",
|
||
|
"features": {
|
||
|
// installs nodejs into container
|
||
|
"ghcr.io/devcontainers/features/node:1": {
|
||
|
"version":"20"
|
||
|
}
|
||
|
},
|
||
|
"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",
|
||
|
"alexcvzz.vscode-sqlite"
|
||
|
]
|
||
|
}
|
||
|
},
|
||
|
"portsAttributes": {
|
||
|
"3000": {
|
||
|
"label": "Gitea Web",
|
||
|
"onAutoForward": "notify"
|
||
|
}
|
||
|
},
|
||
|
"postCreateCommand": "make deps"
|
||
|
}
|