feat: add devcontainers configuration (#12730)

Fixes #12730
Fixes #12731

Co-authored-by: Vatsal Gupta <40350810+gvatsal60@users.noreply.github.com>
This commit is contained in:
Marc Cornellà 2024-10-27 18:34:09 +01:00
commit 4cd7cc559b
No known key found for this signature in database
GPG key ID: 0314585E776A9C1B
4 changed files with 30 additions and 1 deletions

View file

@ -0,0 +1,20 @@
{
"image": "mcr.microsoft.com/devcontainers/base:noble",
"features": {
"ghcr.io/devcontainers/features/common-utils": {
"installZsh": true,
"configureZshAsDefaultShell": true,
"username": "vscode",
"userUid": 1000,
"userGid": 1000
}
},
"postCreateCommand": "rm -rf $HOME/.oh-my-zsh && ln -s /workspaces/ohmyzsh $HOME/.oh-my-zsh && cp /workspaces/ohmyzsh/templates/minimal.zshrc $HOME/.zshrc",
"customizations": {
"codespaces": {
"openFiles": [
"README.md"
]
}
}
}