-
Notifications
You must be signed in to change notification settings - Fork 5
/
.devcontainer.json
28 lines (28 loc) · 1.08 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
{
"image": "ghcr.io/ut-ras/robomaster-firmware:45e7eec2b18933ef7caa7a46087c2d9ce1c36081",
"customizations": {
"vscode": {
"extensions": [
"GitHub.vscode-pull-request-github",
"marus25.cortex-debug",
"ms-vscode.cpptools",
"ms-vsliveshare.vsliveshare",
"rioj7.command-variable"
]
}
},
// Causes an error on Windows due to a mounting bug in the Dev Container extension
// "features": {
// "ghcr.io/devcontainers/features/common-utils:2": {
// "configureZshAsDefaultShell": true
// }
// },
// "postCreateCommand": "zsh -c '. ~/.oh-my-zsh/lib/cli.zsh && omz theme set frontcube'",
"runArgs": [
// Ensure our workspace gets mounted under the non-root user (podman)
"--userns=keep-id:uid=1000,gid=1000",
// Disable SELinux labeling (see https://docs.podman.io/en/latest/markdown/podman-run.1.html#volume-v-source-volume-host-dir-container-dir-options)
"--security-opt",
"label=disable"
]
}