microsoft/hve-core
Publicmirrored fromhttps://github.com/microsoft/hve-coreAvailable
.devcontainer/devcontainer.json
42lines · modecode
| 1 | { |
| 2 | "name": "HVE Core - Markdown Editing", |
| 3 | "image": "${localEnv:HVE_DEVCONTAINER_IMAGE:mcr.microsoft.com/devcontainers/base:2-jammy}", |
| 4 | "features": { |
| 5 | "ghcr.io/devcontainers/features/node:1": { |
| 6 | "version": "20" |
| 7 | }, |
| 8 | "ghcr.io/devcontainers/features/python:1": { |
| 9 | "version": "3.11" |
| 10 | }, |
| 11 | "ghcr.io/devcontainers/features/git:1": {}, |
| 12 | "ghcr.io/devcontainers/features/github-cli:1": {}, |
| 13 | "ghcr.io/devcontainers/features/azure-cli:1": {}, |
| 14 | "ghcr.io/devcontainers/features/powershell:1": {} |
| 15 | }, |
| 16 | "customizations": { |
| 17 | "vscode": { |
| 18 | "extensions": [ |
| 19 | "streetsidesoftware.code-spell-checker", |
| 20 | "davidanson.vscode-markdownlint", |
| 21 | "yzhang.markdown-all-in-one", |
| 22 | "bierner.markdown-preview-github-styles", |
| 23 | "bierner.markdown-mermaid", |
| 24 | "bpruitt-goddard.mermaid-markdown-syntax-highlighting", |
| 25 | "github.vscode-pull-request-github", |
| 26 | "ms-python.python", |
| 27 | "ms-python.vscode-pylance", |
| 28 | "charliermarsh.ruff" |
| 29 | ] |
| 30 | } |
| 31 | }, |
| 32 | "onCreateCommand": "bash .devcontainer/scripts/on-create.sh", |
| 33 | "updateContentCommand": "npm ci", |
| 34 | "postCreateCommand": "bash .devcontainer/scripts/post-create.sh", |
| 35 | "remoteEnv": { |
| 36 | "HVE_GITHUB_RELEASES_URL": "${localEnv:HVE_GITHUB_RELEASES_URL}", |
| 37 | "HVE_GITHUB_API_URL": "${localEnv:HVE_GITHUB_API_URL}", |
| 38 | "HVE_PSGALLERY_REPOSITORY": "${localEnv:HVE_PSGALLERY_REPOSITORY}", |
| 39 | "HVE_PSGALLERY_SOURCE_URL": "${localEnv:HVE_PSGALLERY_SOURCE_URL}" |
| 40 | }, |
| 41 | "remoteUser": "vscode" |
| 42 | } |