A reusable development container (devcontainer) with Python 3.12, Node.js, and additional tools pre-installed. This container is built and published to GitHub Container Registry (ghcr.io) for easy reuse across projects.
This devcontainer includes:
- Python 3.12 (Bullseye)
- Node.js
- Poetry (Python dependency management)
- GitHub CLI
- Docker-outside-of-Docker support
- Pack CLI (Buildpacks)
- SQLite
This devcontainer is automatically built and published to GitHub Container Registry using GitHub Actions. The workflow:
- Triggers on pushes to the main branch, tag creation, and pull requests
- Uses the devcontainer CLI to build the container
- Publishes the container to GitHub Container Registry (ghcr.io)
- Create a
.devcontainer/devcontainer.json
file in your project with:
{
"image": "ghcr.io/YOUR-USERNAME/devcontainer-python-node-claude:latest",
"forwardPorts": [],
"customizations": {
"vscode": {
"extensions": [
// Add your preferred extensions here
]
}
}
}
Replace YOUR-USERNAME
with your GitHub username.
The container is published with several tags for flexible versioning:
latest
: The most recent build from the main branchvX.Y.Z
: Specific version (when tagged with a semantic version)vX.Y
: Major.Minor versionvX
: Major version onlymain
: Latest build from the main branchsha-XXXXXXX
: Specific commit SHA
To modify this devcontainer:
- Update the
devcontainer.json
file with your desired changes - Push to the main branch or create a pull request
- The GitHub Actions workflow will automatically build and publish the updated container