A template repository with a minimal VS Code devcontainer setup.
Read the full documentation online: https://compilerla.github.io/template-devcontainer
Read more in our blog post: How to support a platform-agnostic engineering team with VS Code Dev Containers.
- Base Docker image
python:3.11includes support for common dev tooling likegit,curl,pip, andpre-commit - Includes VS Code extensions like
GitLensandPrettierand good default settings for the editor - The
pre-commitconfiguration includes a number of usefulpre-commit-hooksand Compiler'sconventional-pre-commithook - A separate
docsservice builds documentation usingmkdocs-material
Create a new repository from this template.
With the Remote - Containers extension enabled, open the folder containing this repository inside VS Code.
You should receive a prompt in the VS Code window; click Reopen in Container to run the development environment inside the devcontainer.
If you do not receive a prompt, or when you feel like starting from a fresh environment:
Ctrl/Cmd+Shift+Pto bring up the command palette in VS Code- Type
Remote-Containersto filter the commands - Select
Rebuild and Reopen in Containerto completely rebuild the devcontainer - Select
Reopen in Containerto reopen the most recent devcontainer build