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.