chore: devcontainer pre-creates as vscode, resilient postStart script

This commit is contained in:
Jonas Miederer 2026-09-07 05:04:41 +00:00
parent 0a2b73f3b4
commit 74831483eb
3 changed files with 28 additions and 4 deletions

View file

@ -13,7 +13,7 @@
"overrideCommand": false,
"workspaceFolder": "/workspaces/kirche-einfach",
"postCreateCommand": "sudo -E bash .devcontainer/setup.sh",
"postStartCommand": "mkdir -p ~/.ssh && cp /mnt/host-ssh/id_rsa /mnt/host-ssh/id_rsa.pub ~/.ssh/ && cp /mnt/host-ssh/known_hosts ~/.ssh/ 2>/dev/null; ssh-keyscan -t ed25519,rsa gitlab.jonas-miederer.com >> ~/.ssh/known_hosts 2>/dev/null; chmod 700 ~/.ssh && chmod 600 ~/.ssh/id_rsa && chmod 644 ~/.ssh/id_rsa.pub ~/.ssh/known_hosts",
"postStartCommand": "bash .devcontainer/postStart.sh",
"customizations": {
"vscode": {
"extensions": [