mirror of
https://github.com/home-assistant/supervisor.git
synced 2025-04-19 18:57:16 +00:00
Support checkout directory which are not name supervisor (#4223)
VSCode by default bind mounts the project dir into /workspace. Our scripts assume the Supervisor repository at /workspace/supervisor, but there is no guarnatee for that with VSCode default behavior. Explicitly mount it to /workspace/supervisor so we can safely make that assumption in our devcontainer scripts.
This commit is contained in:
parent
8cf71ffa81
commit
2c2f1afc48
@ -1,6 +1,8 @@
|
||||
{
|
||||
"name": "Supervisor dev",
|
||||
"image": "ghcr.io/home-assistant/devcontainer:supervisor",
|
||||
"workspaceMount": "source=${localWorkspaceFolder},target=/workspace/supervisor/,type=bind",
|
||||
"workspaceFolder": "/workspace/supervisor/",
|
||||
"appPort": ["9123:8123", "7357:4357"],
|
||||
"postCreateCommand": "bash devcontainer_bootstrap",
|
||||
"runArgs": ["-e", "GIT_EDITOR=code --wait", "--privileged"],
|
||||
|
Loading…
x
Reference in New Issue
Block a user