Welcome to mirror list, hosted at ThFree Co, Russian Federation.

devcontainer.json « .devcontainer - github.com/microsoft/vscode.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 3e40ce61f95ed759f7b9f1b44ac0fe971bbabe04 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
{
	"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"],

	"settings": {
		"resmon.show.battery": false,
		"resmon.show.cpufreq": false
	},

	// noVNC, VNC
	"forwardPorts": [6080, 5901],
	"portsAttributes": {
		"6080": {
			"label": "VNC web client (noVNC)",
			"onAutoForward": "silent"
		},
		"5901": {
			"label": "VNC TCP port",
			"onAutoForward": "silent"
		}
	},

	"extensions": [
		"dbaeumer.vscode-eslint",
		"mutantdino.resourcemonitor"
	],

	// Optionally loads a cached yarn install for the repo
	"postCreateCommand": ".devcontainer/cache/restore-diff.sh",

	"remoteUser": "node",

	"hostRequirements": {
		"memory": "8gb"
	}
}