Files
devcontainers/universal-base/.devcontainer/devcontainer.json
2026-02-14 23:24:00 +08:00

70 lines
2.0 KiB
JSON

{
"build": {
"dockerfile": "./Dockerfile",
"context": ".",
},
"features": {
"ghcr.io/devcontainers/features/node:1": {
"version": "22",
"additionalVersions": "18,22,24",
},
"./local-features/nvs": "latest",
"ghcr.io/devcontainers/features/python:1": {
"installJupyterlab": "true",
"configureJupyterlabAllowOrigin": "*",
},
"ghcr.io/devcontainers/features/anaconda:1": {},
"ghcr.io/devcontainers/features/java:1": {
"jdkDistro": "tem",
"version": "21",
"additionalVersions": "8,21,25",
"installGradle": "true",
"installMaven": "true",
},
"ghcr.io/devcontainers/features/go:1": {},
"ghcr.io/devcontainers/features/rust:1": {
"profile": "complete",
},
"./local-features/setup-user": "latest",
},
"overrideFeatureInstallOrder": [
"ghcr.io/devcontainers/features/python:1",
"ghcr.io/devcontainers/features/anaconda:1",
],
// Configure tool-specific properties.
"customizations": {
// Configure properties specific to VS Code.
"vscode": {
// Set *default* container specific settings.json values on container create.
"settings": {
"go.toolsManagement.checkForUpdates": "local",
"go.useLanguageServer": true,
"go.gopath": "/go",
"python.defaultInterpreterPath": "/home/codespace/.python/current/bin/python3",
"jupyter.kernels.filter": [
{
"path": "/opt/conda/bin/python",
"type": "pythonEnvironment",
},
{
"path": "/usr/local/python/current/bin/python3",
"type": "pythonEnvironment",
},
{
"path": "/usr/local/python/current/bin/python",
"type": "pythonEnvironment",
},
{
"path": "/usr/bin/python3",
"type": "pythonEnvironment",
},
{
"path": "/bin/python3",
"type": "pythonEnvironment",
},
],
},
},
},
}