fix: postCreate failures (absolute paths, sudo HOME, socket-wait bug)
This commit is contained in:
parent
d4aeab8dbf
commit
80d81b8022
2 changed files with 10 additions and 5 deletions
|
|
@ -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": [
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue