Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

devcontainer: Modernize devcontainer, bump version #37142

Merged
merged 5 commits into from
Jan 27, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 14 additions & 8 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -1,20 +1,26 @@
{
"name": "CHIP Ubuntu Development Environment",
"runArgs": [
"--cap-add=SYS_PTRACE",
"--security-opt",
"seccomp=unconfined",
"--network=host",
"--privileged",
"-v",
"/dev/bus/usb:/dev/bus/usb:ro",
"--device-cgroup-rule=a 189:* rmw",
"--add-host=host.docker.internal:host-gateway"
],
"privileged": true,
"capAdd": ["SYS_PTRACE"],
"securityOpt": ["seccomp=unconfined"],
"mounts": [
"source=/var/run/docker.sock,target=/var/run/docker.sock,type=bind"
{
"source": "/var/run/docker.sock",
"target": "/var/run/docker.sock",
"type": "bind"
},
{
"source": "/dev/bus/usb",
"target": "/dev/bus/usb",
"type": "bind"
}
],
"initializeCommand": "bash .devcontainer/build.sh --tag matter-dev-environment:local --version 74",
"initializeCommand": "bash .devcontainer/build.sh --tag matter-dev-environment:local --version 97",
"image": "matter-dev-environment:local",
"remoteUser": "vscode",
"containerEnv": {
Expand Down
Loading