fix: postCreate failures (absolute paths, sudo HOME, socket-wait bug)

This commit is contained in:
Jonas Miederer 2026-09-11 19:21:13 +02:00
parent d4aeab8dbf
commit 80d81b8022
2 changed files with 10 additions and 5 deletions

View file

@ -23,8 +23,11 @@
}
},
"overrideCommand": false,
"postCreateCommand": "sudo -E bash .devcontainer/setup.sh",
"postStartCommand": "bash .devcontainer/postStart.sh",
// Absolute paths: lifecycle commands run in the image WORKDIR
// (/srv/kirche-einfach/backend), not the workspace folder — relative
// .devcontainer/... paths fail with "No such file or directory" (exit 127).
"postCreateCommand": "sudo -E bash /srv/kirche-einfach/.devcontainer/setup.sh",
"postStartCommand": "bash /srv/kirche-einfach/.devcontainer/postStart.sh",
"customizations": {
"vscode": {
"extensions": [