This repository contains various devcontainer configurations, each in its own branch. Each template is ready to use and includes all necessary configuration files.
πΉ Next15 Deno
# Clone this template
git clone -b next15-deno --single-branch https://github.com/jcesarprog/devcontainer-templates.git your-project-name
# Or copy to existing project
git clone -b next15-deno --depth=1 https://github.com/jcesarprog/devcontainer-templates.git temp-devcontainer
cp -r temp-devcontainer/.devcontainer .
cp -r temp-devcontainer/scripts .
rm -rf temp-devcontainerπΉ Nextjs15 Bun
# Clone this template
git clone -b nextjs15-bun --single-branch https://github.com/jcesarprog/devcontainer-templates.git your-project-name
# Or copy to existing project
git clone -b nextjs15-bun --depth=1 https://github.com/jcesarprog/devcontainer-templates.git temp-devcontainer
cp -r temp-devcontainer/.devcontainer .
cp -r temp-devcontainer/scripts .
rm -rf temp-devcontainerπΉ Nextjs15 Pnpm
# Clone this template
git clone -b nextjs15-pnpm --single-branch https://github.com/jcesarprog/devcontainer-templates.git your-project-name
# Or copy to existing project
git clone -b nextjs15-pnpm --depth=1 https://github.com/jcesarprog/devcontainer-templates.git temp-devcontainer
cp -r temp-devcontainer/.devcontainer .
cp -r temp-devcontainer/scripts .
rm -rf temp-devcontainer# Replace <template-branch> with your chosen template
git clone -b <template-branch> --single-branch https://github.com/jcesarprog/devcontainer-templates.git my-project
cd my-project
# Optional: Remove git history to start fresh
rm -rf .git
git init
# Open in VS Code
code .# From your project root
git clone -b <template-branch> --depth=1 https://github.com/jcesarprog/devcontainer-templates.git temp-devcontainer
cp -r temp-devcontainer/.devcontainer .
cp -r temp-devcontainer/scripts .
rm -rf temp-devcontainer
# Open in VS Code - it will detect the devcontainer
code .- Go to the branch page:
https://github.com/jcesarprog/devcontainer-templates.git/tree/<template-branch> - Click "Use this template" button
- Create your new repository
- Clone and open in VS Code
- Docker Desktop or Docker Engine
- VS Code with Dev Containers extension
Each template is maintained in its own branch. To contribute or update a template:
- Clone the specific template branch
- Make your changes
- Push back to the same branch
- The main branch index will update automatically
Each template branch contains:
.devcontainer/- DevContainer configurationdevcontainer.json- Container settingsDockerfile- Image definition.dockerignore- Build exclusions
scripts/devcontainer/- Setup scriptspostCreateContainer.sh- Post-creation taskssync-devcontainer-repo.sh- Sync utility
2025-10-15 14:59:43