-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.devcontainer.json
48 lines (48 loc) · 1.47 KB
/
.devcontainer.json
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
{
"name": "dev-env-yocto",
"image": "dev-env-yocto:latest",
"initializeCommand": "bash -i docker/dockerbuild.sh",
"onCreateCommand": "bash docker/vscode/onCreate.sh",
"postCreateCommand": "bash docker/vscode/postCreate.sh",
"postStartCommand": "bash -i docker/vscode-entrypoint",
"containerUser": "${localEnv:USER}",
"workspaceFolder": "/yocto",
"workspaceMount": "type=bind,source=${localWorkspaceFolder},target=/yocto",
"runArgs": ["--privileged", "--ipc=host", "--network=host", "--publish-all"],
"containerEnv":
{
"USER": "${localEnv:USER}",
"UID": "${localEnv:UID}",
"GID": "${localEnv:GID}",
"GROUP": "${localEnv:GROUP}",
"DISPLAY": "${localEnv:DISPLAY}",
"XAUTHORITY": "/yocto/.Xauthority",
"SHELL": "/bin/bash",
"WIFISSID": "${localEnv:WIFISSID}",
"WIFIPASS": "${localEnv:WIFIPASS}",
},
"remoteEnv":
{
"USER": "${localEnv:USER}",
"UID": "${localEnv:UID}",
"GID": "${localEnv:GID}",
"GROUP": "${localEnv:GROUP}",
"DISPLAY": "${localEnv:DISPLAY}",
"XAUTHORITY": "/yocto/.Xauthority",
"SHELL": "/bin/bash",
"WIFISSID": "${localEnv:WIFISSID}",
"WIFIPASS": "${localEnv:WIFIPASS}",
},
"customizations": {
"vscode": {
"extensions": [
"mhutchie.git-graph",
"ms-python.python",
"timonwong.shellcheck",
"moshfeu.compare-folders",
"EugenWiens.bitbake",
"rogalmic.bash-debug"
]
}
},
}