Migrate devcontainer.json to use build.dockerfile/build.context (#179909)

This commit is contained in:
Alexander Birkner
2026-08-23 12:29:21 -04:00
committed by GitHub
parent 04fa8c9d8e
commit f40533f21b
+4 -2
View File
@@ -1,7 +1,9 @@
{ {
"name": "Home Assistant Dev", "name": "Home Assistant Dev",
"context": "..", "build": {
"dockerFile": "../Dockerfile.dev", "dockerfile": "../Dockerfile.dev",
"context": ".."
},
"postCreateCommand": "git config --global --add safe.directory ${containerWorkspaceFolder} && script/setup", "postCreateCommand": "git config --global --add safe.directory ${containerWorkspaceFolder} && script/setup",
"postStartCommand": "script/bootstrap", "postStartCommand": "script/bootstrap",
"containerEnv": { "containerEnv": {