Add devcontainer template and move tmux config into feature - #8
Merged
Merged
Conversation
Install tmux as part of the claude-code devcontainer feature using distribution-agnostic package detection (apt-get/dnf/yum/apk). This removes the need for a custom Dockerfile in cc-devcontainer, switching the skill template to an image-based setup with the claude-code feature handling all installation (Claude Code, tmux, cc-headless, cc-launcher).
- Add devcontainer template (devcontainer-templates/src/devcontainer) for GHCR publishing so users can scaffold a complete Claude Code setup - Move tmux config (set -g mouse on) into the claude-code feature install.sh so all feature users get it automatically - Remove tmux.conf template and postCreateCommand from cc-devcontainer skill (no longer needed) - Rename publish-features.yml to publish-devcontainers.yml and add template publishing step - Add template JSON validation to CI
- Add LANG/LC_ALL to containerEnv in devcontainer-feature.json so all feature users get UTF-8 locale automatically - Remove containerEnv and runArgs --env-file from both devcontainer.json templates (feature handles locale, env-file was fragile) - Add remoteEnv with CLAUDE_CODE_OAUTH_TOKEN to devcontainer template for host-to-container auth passthrough - Update devcontainer-init skill to inject remoteEnv instead of .env
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
devcontainer-templates/src/devcontainerfor GHCR publishing (ghcr.io/Gnnng/cc-kit/devcontainer), so users can scaffold a complete Claude Code devcontainer setup withdevcontainer templates applyset -g mouse oninto the claude-code feature'sinstall.shso all feature users get it automatically — no morepostCreateCommandneededtmux.conftemplate andpostCreateCommandfrom the devcontainer-init skillpublish-features.yml→publish-devcontainers.ymland add template publishing stepdevcontainer-template.jsonTest plan
jq . devcontainer-templates/src/devcontainer/devcontainer-template.jsonvalidatesshellcheck devcontainer-features/src/claude-code/install.shpasses~/.tmux.confexists withset -g mouse ondevcontainer templates apply --template-id ghcr.io/Gnnng/cc-kit/devcontainerworks after publish