forked from norwegianredcross/devcontainer-toolbox
-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathdevcontainer-user-template.json
More file actions
62 lines (62 loc) · 2.53 KB
/
Copy pathdevcontainer-user-template.json
File metadata and controls
62 lines (62 loc) · 2.53 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
{
"image": "ghcr.io/helpers-no/devcontainer-toolbox:latest",
"overrideCommand": false,
"runArgs": [
"--cap-add=NET_ADMIN",
"--cap-add=NET_RAW",
"--cap-add=SYS_ADMIN",
"--cap-add=AUDIT_WRITE",
"--device=/dev/net/tun:/dev/net/tun",
"--privileged"
],
"customizations": {
"vscode": {
"extensions": [
"yzhang.markdown-all-in-one",
"MermaidChart.vscode-mermaid-chart",
"redhat.vscode-yaml",
"mhutchie.git-graph",
"timonwong.shellcheck"
]
},
"devcontainer-toolbox": {
"documentation": "https://dct.sovereignsky.no/docs/contributors/architecture/devcontainer-json",
"managed": "This file is managed by dev-update. Do not edit — changes will be overwritten."
}
},
"remoteEnv": {
"DCT_HOME": "/opt/devcontainer-toolbox",
"DCT_WORKSPACE": "/workspace",
"DCT_IMAGE_VERSION": "1.8.0",
"DEV_HOST_USER": "${localEnv:USER}",
"DEV_HOST_USERNAME": "${localEnv:USERNAME}",
"DEV_HOST_OS": "${localEnv:OS}",
"DEV_HOST_HOME": "${localEnv:HOME}",
"DEV_HOST_LOGNAME": "${localEnv:LOGNAME}",
"DEV_HOST_LANG": "${localEnv:LANG}",
"DEV_HOST_SHELL": "${localEnv:SHELL}",
"DEV_HOST_TERM_PROGRAM": "${localEnv:TERM_PROGRAM}",
"DEV_HOST_HOSTNAME": "${localEnv:HOSTNAME}",
"DEV_HOST_COMPUTERNAME": "${localEnv:COMPUTERNAME}",
"DEV_HOST_PROCESSOR_ARCHITECTURE": "${localEnv:PROCESSOR_ARCHITECTURE}",
"DEV_HOST_ONEDRIVE": "${localEnv:OneDrive}"
},
"features": {
"ghcr.io/devcontainers/features/docker-outside-of-docker:1": {}
},
"workspaceFolder": "/workspace",
"workspaceMount": "source=${localWorkspaceFolder},target=/workspace,type=bind,consistency=cached",
"portsAttributes": {
"30000-39999": {
"label": "UIS service forwarded port (host.docker.internal:<port>)",
"onAutoForward": "ignore"
}
},
"remoteUser": "vscode",
"containerUser": "vscode",
"shutdownAction": "stopContainer",
"updateRemoteUserUID": true,
"init": true,
"initializeCommand": "mkdir -p .devcontainer.secrets/env-vars && hostname -s > .devcontainer.secrets/env-vars/.host-hostname 2>/dev/null || hostname > .devcontainer.secrets/env-vars/.host-hostname 2>/dev/null || true",
"postStartCommand": "bash /opt/devcontainer-toolbox/additions/config-host-info.sh --verify 2>/dev/null || true"
}