This commit is contained in:
Alexandre
2023-12-02 16:12:43 +01:00
parent 9fbd806217
commit 311a0f7e7f
2 changed files with 3 additions and 3 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": "sudo -E bash devcontainer_bootstrap",
"postStartCommand": "bash devcontainer_bootstrap",
"runArgs": ["-e", "GIT_EDITOR=code --wait", "--privileged"],
"containerEnv": {
"WORKSPACE_DIRECTORY": "${containerWorkspaceFolder}"

4
.vscode/tasks.json vendored
View File

@@ -4,7 +4,7 @@
{
"label": "Start Home Assistant",
"type": "shell",
"postStartCommand": "sudo -E bash devcontainer_bootstrap",
"command": "supervisor_run",
"group": {
"kind": "test",
"isDefault": true
@@ -16,4 +16,4 @@
"problemMatcher": []
}
]
}
}