2022-06-14 14:37:10 +08:00
|
|
|
{
|
2024-05-10 15:40:21 +08:00
|
|
|
"name": "Kylin-Code",
|
2024-04-30 20:57:13 +08:00
|
|
|
"build": {
|
|
|
|
"dockerfile": "Dockerfile"
|
|
|
|
},
|
|
|
|
"features": {
|
|
|
|
"ghcr.io/devcontainers/features/desktop-lite:1": {}
|
|
|
|
},
|
|
|
|
"containerEnv": {
|
|
|
|
"DISPLAY": "" // Allow the Dev Containers extension to set DISPLAY, post-create.sh will add it back in ~/.bashrc and ~/.zshrc if not set.
|
|
|
|
},
|
2022-06-14 14:37:10 +08:00
|
|
|
"overrideCommand": false,
|
2024-04-30 20:57:13 +08:00
|
|
|
"privileged": true,
|
|
|
|
"mounts": [
|
|
|
|
{
|
|
|
|
"source": "vscode-dev",
|
|
|
|
"target": "/vscode-dev",
|
|
|
|
"type": "volume"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"postCreateCommand": "./.devcontainer/post-create.sh",
|
|
|
|
"customizations": {
|
|
|
|
"vscode": {
|
|
|
|
"settings": {
|
|
|
|
"resmon.show.battery": false,
|
|
|
|
"resmon.show.cpufreq": false
|
|
|
|
},
|
|
|
|
"extensions": [
|
|
|
|
"dbaeumer.vscode-eslint",
|
|
|
|
"EditorConfig.EditorConfig",
|
|
|
|
"GitHub.vscode-pull-request-github",
|
|
|
|
"ms-vscode.vscode-github-issue-notebooks",
|
|
|
|
"ms-vscode.vscode-selfhost-test-provider",
|
|
|
|
"mutantdino.resourcemonitor"
|
|
|
|
]
|
|
|
|
}
|
2022-06-14 14:37:10 +08:00
|
|
|
},
|
|
|
|
"forwardPorts": [6080, 5901],
|
|
|
|
"portsAttributes": {
|
|
|
|
"6080": {
|
|
|
|
"label": "VNC web client (noVNC)",
|
|
|
|
"onAutoForward": "silent"
|
|
|
|
},
|
|
|
|
"5901": {
|
|
|
|
"label": "VNC TCP port",
|
|
|
|
"onAutoForward": "silent"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"hostRequirements": {
|
2024-04-30 20:57:13 +08:00
|
|
|
"memory": "9gb"
|
2022-06-14 14:37:10 +08:00
|
|
|
}
|
|
|
|
}
|