Base devcontainer configuration for consistent development environments.
-
Add this submodule to your project:
git submodule add git@github.com:FutureHax/Devcontainer-Base.git .devcontainer-common
-
Create
.devcontainer-specific/devcontainer.json:{ // Project-specific features to add to base "features": { // Your features here } } -
Build the devcontainer:
node .devcontainer-common/build-devcontainer.js
-
Add to
.gitignore:.devcontainer/
your-project/
βββ .devcontainer-common/ # This submodule (base config)
βββ .devcontainer-specific/ # Your project's config
β βββ devcontainer.json # Project features/settings
β βββ postCreateCommand.sh # Project-specific setup
βββ .devcontainer/ # Generated (don't commit)
- π³ Docker-in-Docker
- π¦ Node.js LTS
- π Python 3.12
- βΈοΈ Kubernetes tools
- π§ VS Code extensions
- π Zsh + Oh My Zsh
- β Starship prompt
Your .devcontainer-specific/postCreateCommand.sh runs automatically after base setup.