mirror of
https://github.com/Microsoft/vscode
synced 2024-10-30 09:08:46 +00:00
44 lines
1 KiB
JSON
44 lines
1 KiB
JSON
{
|
|
"name": "Code - OSS",
|
|
|
|
// Image contents: https://github.com/microsoft/vscode-dev-containers/blob/master/repository-containers/images/github.com/microsoft/vscode/.devcontainer/base.Dockerfile
|
|
"image": "mcr.microsoft.com/vscode/devcontainers/repos/microsoft/vscode:branch-main",
|
|
"overrideCommand": false,
|
|
"runArgs": [ "--init", "--security-opt", "seccomp=unconfined", "--shm-size=1g"],
|
|
|
|
// VS Code extensions and settings
|
|
"customizations": {
|
|
"vscode": {
|
|
"settings": {
|
|
"resmon.show.battery": false,
|
|
"resmon.show.cpufreq": false
|
|
},
|
|
"extensions": [
|
|
"dbaeumer.vscode-eslint",
|
|
"mutantdino.resourcemonitor"
|
|
]
|
|
}
|
|
},
|
|
|
|
// noVNC, VNC
|
|
"forwardPorts": [6080, 5901],
|
|
"portsAttributes": {
|
|
"6080": {
|
|
"label": "VNC web client (noVNC)",
|
|
"onAutoForward": "silent"
|
|
},
|
|
"5901": {
|
|
"label": "VNC TCP port",
|
|
"onAutoForward": "silent"
|
|
}
|
|
},
|
|
|
|
// Optionally loads a cached yarn install for the repo
|
|
"postCreateCommand": ".devcontainer/cache/restore-diff.sh",
|
|
|
|
"remoteUser": "node",
|
|
|
|
"hostRequirements": {
|
|
"memory": "9gb"
|
|
}
|
|
}
|