updating devcontainer base image for better usability

This commit is contained in:
iwt-pjost 2025-01-16 18:23:58 +01:00
parent dfddacf6d3
commit 1e1f238450

View file

@ -1,5 +1,5 @@
{ {
"image": "mcr.microsoft.com/devcontainers/universal:2", "image": "mcr.microsoft.com/devcontainers/base:0-ubuntu-22.04",
"features": { "features": {
"ghcr.io/devcontainers/features/python:1": { "ghcr.io/devcontainers/features/python:1": {
"version": "3.12" "version": "3.12"
@ -47,11 +47,11 @@
} }
}, },
"mounts": [ "mounts": [
"source=${localWorkspaceFolder}/.devcontainer/advanced/.p10k.zsh,target=/home/codespace/.p10k.zsh,type=bind,consistency=cached", "source=${localWorkspaceFolder}/.devcontainer/advanced/.p10k.zsh,target=/home/vscode/.p10k.zsh,type=bind,consistency=cached",
"source=${localWorkspaceFolder}/.devcontainer/advanced/.zshrc,target=/home/codespace/.zshrc,type=bind,consistency=cached", "source=${localWorkspaceFolder}/.devcontainer/advanced/.zshrc,target=/home/vscode/.zshrc,type=bind,consistency=cached",
"source=${localWorkspaceFolder}/.devcontainer/advanced/post-create.sh,target=/home/codespace/post-create.sh,type=bind,consistency=cached", "source=${localWorkspaceFolder}/.devcontainer/advanced/post-create.sh,target=/home/vscode/post-create.sh,type=bind,consistency=cached",
"source=${localWorkspaceFolder}/.devcontainer/advanced/post-start.sh,target=/home/codespace/post-start.sh,type=bind,consistency=cached" "source=${localWorkspaceFolder}/.devcontainer/advanced/post-start.sh,target=/home/vscode/post-start.sh,type=bind,consistency=cached"
], ],
"postCreateCommand": "chmod +x /home/codespace/post-create.sh && /home/codespace/post-create.sh", "postCreateCommand": "chmod +x /home/vscode/post-create.sh && /home/vscode/post-create.sh",
"postStartCommand": "chmod +x /home/codespace/post-create.sh && /home/codespace/post-create.sh" "postStartCommand": "chmod +x /home/vscode/post-create.sh && /home/vscode/post-create.sh"
} }