开发容器配置-初版

This commit is contained in:
2026-02-14 20:21:28 +08:00
parent d73b4795c1
commit 542be845b7
15 changed files with 502 additions and 0 deletions

View File

@@ -0,0 +1,31 @@
{
"id": "setup-user",
"name": "Setup user configs",
"containerEnv": {
"JAVA_ROOT": "/home/codespace/java",
"NODE_ROOT": "/home/codespace/nvm",
"PYTHON_ROOT": "/home/codespace/.python",
"MAVEN_ROOT": "/home/codespace/.maven",
"PYTHONIOENCODING": "UTF-8",
"NPM_GLOBAL": "/home/codespace/.npm-global",
"NVS_HOME": "/home/codespace/.nvs",
"GOROOT": "/usr/local/go",
"JUPYTERLAB_PATH": "/home/codespace/.local/bin",
"PATH": "/home/codespace/nvm/current/bin:/home/codespace/.python/current/bin:/home/codespace/java/current/bin:/home/codespace/.local/bin:${PATH}"
},
"install": {
"app": "",
"file": "install.sh"
},
"installsAfter": [
"ghcr.io/devcontainers/features/node:1",
"./local-features/nvs",
"ghcr.io/devcontainers/features/python:1",
"./local-features/patch-python",
"ghcr.io/devcontainers/features/anaconda:1",
"./local-features/patch-conda",
"ghcr.io/devcontainers/features/java:1",
"ghcr.io/devcontainers/features/go:1",
"ghcr.io/devcontainers/features/rust:1"
]
}