Skip to content

FutureHax/Devcontainer-Base

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

11 Commits
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

FutureHax Devcontainer Base

Base devcontainer configuration for consistent development environments.

Setup

  1. Add this submodule to your project:

    git submodule add git@github.com:FutureHax/Devcontainer-Base.git .devcontainer-common
  2. Create .devcontainer-specific/devcontainer.json:

    {
      // Project-specific features to add to base
      "features": {
        // Your features here
      }
    }
  3. Build the devcontainer:

    node .devcontainer-common/build-devcontainer.js
  4. Add to .gitignore:

    .devcontainer/
    

Project Structure

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)

What's Included

  • 🐳 Docker-in-Docker
  • πŸ“¦ Node.js LTS
  • 🐍 Python 3.12
  • ☸️ Kubernetes tools
  • πŸ”§ VS Code extensions
  • 🐚 Zsh + Oh My Zsh
  • ⭐ Starship prompt

Customization

Your .devcontainer-specific/postCreateCommand.sh runs automatically after base setup.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors