code.gitea.io/gitea@v1.22.3/.devcontainer/devcontainer.json (about)

     1  {
     2    "name": "Gitea DevContainer",
     3    "image": "mcr.microsoft.com/devcontainers/go:1.22-bullseye",
     4    "features": {
     5      // installs nodejs into container
     6      "ghcr.io/devcontainers/features/node:1": {
     7        "version": "20"
     8      },
     9      "ghcr.io/devcontainers/features/git-lfs:1.1.0": {},
    10      "ghcr.io/devcontainers-contrib/features/poetry:2": {},
    11      "ghcr.io/devcontainers/features/python:1": {
    12        "version": "3.12"
    13      }
    14    },
    15    "customizations": {
    16      "vscode": {
    17        "settings": {},
    18        // same extensions as Gitpod, should match /.gitpod.yml
    19        "extensions": [
    20          "editorconfig.editorconfig",
    21          "dbaeumer.vscode-eslint",
    22          "golang.go",
    23          "stylelint.vscode-stylelint",
    24          "DavidAnson.vscode-markdownlint",
    25          "Vue.volar",
    26          "ms-azuretools.vscode-docker",
    27          "vitest.explorer",
    28          "qwtel.sqlite-viewer",
    29          "GitHub.vscode-pull-request-github"
    30        ]
    31      }
    32    },
    33    "portsAttributes": {
    34      "3000": {
    35        "label": "Gitea Web",
    36        "onAutoForward": "notify"
    37      }
    38    },
    39    "postCreateCommand": "make deps"
    40  }