spendenquittungen/.devcontainer/advanced/devcontainer.json
iwt-pjost 3ab4e3c210 * Fixing ruby script with wrong File.exists
* Adding Gemfile for ruby dependencies
* Adding script to install LateX dependencies
* Updating Readme
* Adding devcontainer config for having a development environment
2024-03-19 22:32:05 +00:00

57 lines
2.1 KiB
JSON
Executable file

{
"image": "mcr.microsoft.com/devcontainers/universal:2",
"features": {
"ghcr.io/devcontainers/features/python:1": {
"version": "3.12"
},
"ghcr.io/devcontainers-contrib/features/zsh-plugins": {
"omzPlugins": [
"https://github.com/zsh-users/zsh-autosuggestions",
"https://github.com/zsh-users/zsh-syntax-highlighting.git"
]
},
"ghcr.io/devcontainers/features/ruby:1": {},
"ghcr.io/prulloac/devcontainer-features/latex:1": {},
"ghcr.io/devcontainers-contrib/features/tldr:2": {},
"ghcr.io/devcontainers-contrib/features/yamllint:2": {},
"ghcr.io/devcontainers-contrib/features/markdownlint-cli2:1": {}
},
"customizations": {
"vscode": {
"extensions": [
"charliermarsh.ruff",
"DavidAnson.vscode-markdownlint",
"EditorConfig.EditorConfig",
"GitHub.copilot",
"ms-azuretools.vscode-docker",
"ms-python.black-formatter",
"ms-python.python",
"ms-vsliveshare.vsliveshare",
"oderwat.indent-rainbow",
"redhat.vscode-yaml",
"samuelcolvin.jinjahtml",
"timonwong.shellcheck",
"wholroyd.jinja"
],
"settings": {
"terminal.integrated.defaultProfile.linux": "zsh",
"terminal.integrated.scrollback": 10000,
"prettier.requireConfig": true,
"terminal.integrated.fontFamily": "MesloLGS NF",
"editor.formatOnSave": true,
"cSpell.language": "en-GB",
"shellcheck.customArgs": [
"-x"
]
}
}
},
"mounts": [
"source=${localWorkspaceFolder}/.devcontainer/advanced/.p10k.zsh,target=/home/codespace/.p10k.zsh,type=bind,consistency=cached",
"source=${localWorkspaceFolder}/.devcontainer/advanced/.zshrc,target=/home/codespace/.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-start.sh,target=/home/codespace/post-start.sh,type=bind,consistency=cached"
],
"postCreateCommand": "chmod +x /home/codespace/post-create.sh && /home/codespace/post-create.sh",
"postStartCommand": "chmod +x /home/codespace/post-create.sh && /home/codespace/post-create.sh"
}