42 строки1 KB
Bertrand Awenze
Fix devcontainer build failure (#12837)
* add post-installation script
* set zsh as default terminal and make post-install execution on postcreate
* rename file
* rename script
* Create devcontainers_ci.yml
* Update devcontainer.json
* Update devcontainers_ci.yml
Never push image built here. It's for build testing purpose only.
* postCreateCommand update to reflect that the shell script has been renamed.
* update devcontainer readme file
* trigger workflow only on devcontainer/** changes
* prettier refactor
09 июл 2025, 15:25
Development Container
This is Devcontainer configuration to provide a consistent development environment for all contributors.
Features
- Pre-configured Python environment
- Automatic installation of pre-commit hooks
- Ruff linter ready to check your code
- Oh My Zsh with plugins:
- zsh-autosuggestions
- zsh-syntax-highlighting
Usage
-
Install Docker and Visual Studio Code
-
Install the Remote - Containers extension in VS Code
-
Do
, paste this command and pressCTRL+PEnter
-
-
Open this repository in VS Code
-
When prompted, click "Reopen in Container"
-
Wait for the environment to build and initialize
After setup:
hooks are installedpre-commitand other tools are availableruff- The shell uses Zsh by default
Tips
To manually run checks on all files:
For further information here's Microsoft tutorial about devcontainers.