vscode/.devcontainer/devcontainer.json

41 lines
1,011 B
JSON
Raw Normal View History

2020-06-02 05:46:08 +02:00
{
"name": "Code - OSS",
// Image contents: https://github.com/microsoft/vscode-dev-containers/blob/master/repository-containers/images/github.com/microsoft/vscode/.devcontainer/base.Dockerfile
2021-02-14 20:10:24 +01:00
"image": "mcr.microsoft.com/vscode/devcontainers/repos/microsoft/vscode:branch-main",
2020-06-02 05:46:08 +02:00
"overrideCommand": false,
2021-11-01 16:51:25 +01:00
"runArgs": [ "--init", "--security-opt", "seccomp=unconfined", "--shm-size=1g"],
2020-06-02 05:46:08 +02:00
"settings": {
2020-06-03 17:25:35 +02:00
"resmon.show.battery": false,
"resmon.show.cpufreq": false
2020-06-02 05:46:08 +02:00
},
2021-05-29 01:27:15 +02:00
// noVNC, VNC
"forwardPorts": [6080, 5901],
"portsAttributes": {
"6080": {
"label": "VNC web client (noVNC)",
"onAutoForward": "silent"
},
"5901": {
"label": "VNC TCP port",
"onAutoForward": "silent"
}
},
2020-06-02 05:46:08 +02:00
"extensions": [
"dbaeumer.vscode-eslint",
2020-10-16 17:05:58 +02:00
"mutantdino.resourcemonitor"
2020-06-02 05:46:08 +02:00
],
2020-10-08 16:27:19 +02:00
// Optionally loads a cached yarn install for the repo
2021-08-13 04:05:18 +02:00
"postCreateCommand": ".devcontainer/cache/restore-diff.sh && sudo chown node:node /workspaces",
2020-10-08 16:27:19 +02:00
"remoteUser": "node",
"hostRequirements": {
"memory": "6gb"
}
2020-06-02 05:46:08 +02:00
}