blob: 94ad9314b9a56c1b4cdfa1f938079d9ea9dbfcbd [file] [log] [blame]
Justin Wood72d717c2020-03-31 12:46:26 -07001{
Justin Wood4f23c312020-04-02 19:35:49 +00002 "name": "CHIP Ubuntu Development Environment",
Jeonghwan Kim181c37c12020-08-30 06:04:48 +09003 "runArgs": [
4 "--cap-add=SYS_PTRACE",
5 "--security-opt",
6 "seccomp=unconfined",
Vincent Coubardcc135602021-06-29 16:58:47 +01007 "--network=host",
Andrei Litvin13de7232021-11-25 16:51:53 -05008 "--privileged",
Vincent Coubardcc135602021-06-29 16:58:47 +01009 "-v",
10 "/dev/bus/usb:/dev/bus/usb:ro",
11 "--device-cgroup-rule=a 189:* rmw",
12 "--add-host=host.docker.internal:host-gateway"
Jeonghwan Kim181c37c12020-08-30 06:04:48 +090013 ],
Justin Wooda923ce72020-05-13 18:59:48 -070014 "mounts": [
15 "source=/var/run/docker.sock,target=/var/run/docker.sock,type=bind"
16 ],
Andrei Litvin60763172023-10-27 18:53:35 -040017 "initializeCommand": ".devcontainer/build.sh --tag matter-dev-environment:local --version 22",
Artur Tynecki8a2bb572023-05-16 16:52:06 +020018 "image": "matter-dev-environment:local",
Justin Wood4f23c312020-04-02 19:35:49 +000019 "remoteUser": "vscode",
Artur Tynecki8a2bb572023-05-16 16:52:06 +020020 "customizations": {
21 "vscode": {
22 // Add the IDs of extensions you want installed when the container is created in the array below.
23 "extensions": [
24 "mcu-debug.debug-tracker-vscode",
25 "aaron-bond.better-comments",
26 "augustocdias.tasks-shell-input",
27 "christian-kohler.path-intellisense",
28 "eamodio.gitlens",
29 "editorconfig.editorconfig",
30 "esbenp.prettier-vscode",
31 "foxundermoon.shell-format",
32 "github.vscode-pull-request-github",
33 "maelvalais.autoconf",
34 "marus25.cortex-debug",
35 "ms-azuretools.vscode-docker",
36 "ms-vscode.cpptools",
37 "msedge-dev.gnls",
38 "redhat.vscode-yaml",
39 "vadimcn.vscode-lldb",
40 "xaver.clang-format",
41 "yuichinukiyama.vscode-preview-server",
42 "yzhang.markdown-all-in-one"
43 ],
44 "settings": {
45 "terminal.integrated.defaultProfile.linux": "bash",
46 "terminal.integrated.profiles.linux": {
47 "bash": {
48 "path": "/bin/bash",
49 "args": ["-l"]
50 }
51 }
52 }
53 }
Justin Wood4f23c312020-04-02 19:35:49 +000054 },
Justin Wood4f23c312020-04-02 19:35:49 +000055 "remoteEnv": {
56 "GIT_PS1_SHOWDIRTYSTATE": "1",
57 "GIT_PS1_SHOWSTASHSTATE": "1",
58 "GIT_PS1_SHOWCOLORHINTS": "true",
Pankaj Garga280c2e2020-04-15 07:14:01 -070059 "PROMPT_COMMAND": "${localEnv:PROMPT_COMMAND}"
Justin Wood4f23c312020-04-02 19:35:49 +000060 }
Rob Walker085b3d02020-09-08 14:11:59 -070061}