mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-12-23 07:43:18 -05:00
3befabead0
sqlite-viewer can not edit sqlite. database client can connect to almost all common databases, which is very useful I think. Of cause, it can edit sqlite. https://marketplace.visualstudio.com/items?itemName=cweijan.vscode-database-client2 And for using sqlite, sqlite3 is required. So also added a new feature: https://github.com/warrenbuckley/codespace-features found from: https://containers.dev/features (cherry picked from commit fc641b3a28300e13c822140556eca8d00f2b5196) Conflicts: .devcontainer/devcontainer.json trivial context conflict because AZure blob support was not added
42 lines
1.1 KiB
JSON
42 lines
1.1 KiB
JSON
{
|
|
"name": "Gitea DevContainer",
|
|
"image": "mcr.microsoft.com/devcontainers/go:1.22-bullseye",
|
|
"features": {
|
|
// installs nodejs into container
|
|
"ghcr.io/devcontainers/features/node:1": {
|
|
"version": "20"
|
|
},
|
|
"ghcr.io/devcontainers/features/git-lfs:1.2.0": {},
|
|
"ghcr.io/devcontainers-contrib/features/poetry:2": {},
|
|
"ghcr.io/devcontainers/features/python:1": {
|
|
"version": "3.12"
|
|
},
|
|
"ghcr.io/warrenbuckley/codespace-features/sqlite: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",
|
|
"vitest.explorer",
|
|
"cweijan.vscode-database-client2",
|
|
"GitHub.vscode-pull-request-github",
|
|
"Azurite.azurite"
|
|
]
|
|
}
|
|
},
|
|
"portsAttributes": {
|
|
"3000": {
|
|
"label": "Gitea Web",
|
|
"onAutoForward": "notify"
|
|
}
|
|
},
|
|
"postCreateCommand": "make deps"
|
|
}
|