Skip to content

feat: Add GitHub Codespaces devcontainer configuration#354

Closed
mrjcleaver wants to merge 1 commit into
danielmiessler:mainfrom
mrjcleaver:feat/add-devcontainer-support
Closed

feat: Add GitHub Codespaces devcontainer configuration#354
mrjcleaver wants to merge 1 commit into
danielmiessler:mainfrom
mrjcleaver:feat/add-devcontainer-support

Conversation

@mrjcleaver

Copy link
Copy Markdown

Add .devcontainer configuration to enable one-click development environment setup in GitHub Codespaces.
(This was based on today's repo)

Components:

  • devcontainer.json: Configures Codespaces with Bun runtime
  • Dockerfile: Custom container with git-lfs, Node.js 20, and Claude Code CLI

Features:

  • Automatic Bun installation via postCreateCommand
  • Pre-configured PATH for Bun binaries
  • Git LFS support for large files
  • Node.js 20.x for Claude Code CLI
  • Claude Code CLI (@anthropic-ai/claude-code) pre-installed

Benefits:

  • One-click setup for contributors
  • Consistent development environment
  • No local installation required
  • Ready-to-use Claude Code environment

Tested on:

  • GitHub Codespaces (Ubuntu/Bookworm base)

Add .devcontainer configuration to enable one-click development environment
setup in GitHub Codespaces.

Components:
- devcontainer.json: Configures Codespaces with Bun runtime
- Dockerfile: Custom container with git-lfs, Node.js 20, and Claude Code CLI

Features:
- Automatic Bun installation via postCreateCommand
- Pre-configured PATH for Bun binaries
- Git LFS support for large files
- Node.js 20.x for Claude Code CLI
- Claude Code CLI (@anthropic-ai/claude-code) pre-installed

Benefits:
- One-click setup for contributors
- Consistent development environment
- No local installation required
- Ready-to-use Claude Code environment

Tested on:
- GitHub Codespaces (Ubuntu/Bookworm base)

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
@mrjcleaver

Copy link
Copy Markdown
Author

I've made also feat/pai-codespaces-adapter - The notification pack - but I've not tested that yet.

@kaimagnus

Copy link
Copy Markdown
Collaborator

Thank you for the Codespaces devcontainer config, @mrjcleaver! GitHub Codespaces support is a nice addition.

We're holding off on this for now as v3.0 changed the dependency story significantly. If you'd like to update the devcontainer for v3.0's requirements, we'd be happy to review. Appreciate the contribution!

@kaimagnus kaimagnus closed this Feb 15, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants