-
Notifications
You must be signed in to change notification settings - Fork 392
Expand file tree
/
Copy pathdevcontainer.json
More file actions
64 lines (60 loc) · 1.67 KB
/
devcontainer.json
File metadata and controls
64 lines (60 loc) · 1.67 KB
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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
{
"name": "devcontainer CLI Demo",
"build": {
"dockerfile": "Dockerfile"
},
"customizations": {
// 👇 Config only used for VS Code Server
"vscode": {
"extensions": [
"streetsidesoftware.code-spell-checker",
"mutantdino.resourcemonitor"
],
"settings": {
"resmon.show.battery": false,
"resmon.show.cpufreq": false
}
},
// 👇 Config only used for openvscode-server
"openvscodeserver": {
"extensions": [
"streetsidesoftware.code-spell-checker"
],
"settings": { }
},
// 👇 Config only used for vscodium-server
"vscodium": {
"extensions": [
"streetsidesoftware.code-spell-checker"
],
"settings": { }
}
},
// 👇 Dev Container Features - https://containers.dev/implementors/features/
"features": {
"ghcr.io/devcontainers/features/go:1": {
"version": "1.18.4"
},
"ghcr.io/devcontainers/features/node:1": {
"version": "16.15.1",
"nodeGypDependencies": false
},
"ghcr.io/devcontainers/features/desktop-lite:1": { },
"ghcr.io/devcontainers/features/docker-in-docker:2": { },
// Optional - For tools that require SSH
"ghcr.io/devcontainers/features/sshd:1": { }
},
// We are using appPort since forwardPorts not yet supported directly
// by the CLI. See https://github.com/devcontainers/cli/issues/22
// A pre-processor can easily parse devcontainer.json and inject
// these values as appropriate. We're omitting that for simplicity.
"appPort": [
// Expose SSH port for tools that need it (e.g. JetBrains)
"127.0.0.1:2222:2222",
// Port VS Code Server / openvscode-server is on
8000,
// Port for VNC web server contributed by the desktop-lite feature
6080
],
"remoteUser": "vscode"
}