mirror of
https://github.com/go-gitea/gitea.git
synced 2024-11-18 21:14:57 +01:00
6a8ebaf22b
with introduction of linter, this adds python/poetry to devcontainer
38 lines
995 B
JSON
38 lines
995 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"
|
|
},
|
|
"ghcr.io/devcontainers/features/git-lfs:1.1.0": {},
|
|
"ghcr.io/devcontainers-contrib/features/poetry:2": {},
|
|
"ghcr.io/devcontainers/features/python:1": {}
|
|
},
|
|
"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"
|
|
]
|
|
}
|
|
},
|
|
"portsAttributes": {
|
|
"3000": {
|
|
"label": "Gitea Web",
|
|
"onAutoForward": "notify"
|
|
}
|
|
},
|
|
"postCreateCommand": "make deps"
|
|
}
|