devcontainer

This commit is contained in:
Alexandre
2023-11-29 20:37:42 +01:00
parent fbd3527e62
commit 3598b8c48a
3 changed files with 17 additions and 2 deletions

View File

@@ -2,7 +2,7 @@
"name": "Example devcontainer for add-on repositories",
"image": "ghcr.io/home-assistant/devcontainer:addons",
"appPort": ["7123:8123", "7357:4357"],
"postStartCommand": "bash devcontainer_bootstrap",
"postStartCommand": "sudo -E bash devcontainer_bootstrap",
"runArgs": ["-e", "GIT_EDITOR=code --wait", "--privileged"],
"containerEnv": {
"WORKSPACE_DIRECTORY": "${containerWorkspaceFolder}"