Skip to content

fix: add volume mounts for persistent auth/history - #42

Closed
Tomeriko96 wants to merge 2 commits into
mainfrom
fix/add-volume-mounts
Closed

Tomeriko96 wants to merge 2 commits into
mainfrom
fix/add-volume-mounts

Conversation

@Tomeriko96

Copy link
Copy Markdown

No description provided.

Tomer Iwan added 2 commits September 25, 2026 08:41
- Add init: true to devcontainer.json (reaps zombie processes from agents)
- Fix HISTFILE: export to ~/.history (persistent history on volume mount)
- Increase HISTSIZE/HISTFILESIZE from 1000/2000 to 10000/10000
- Remove non-existent ~/.devcontainers/bin from PATH
- Remove duplicate PATH export (one inline, one redundant)

These are polish items from #33 (cleanup). No functional breakage, just
cleaner configuration and better history management.

Fixes issue #33 (partial).
Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>

Entire-Checkpoint: 9c0eafa568c0
Add named volumes for:
- ~/.claude (Claude Code settings, API tokens)
- ~/.config/gh (GitHub CLI authentication)
- ~/.config/opencode (OpenCode/Copilot settings)
- ~/.history (Bash command history)

Survives container rebuild. No more re-authenticating after rebuild.

Combined with DISABLE_AUTOUPDATER and semver image tag, provides:
- Reproducible container versions
- Persistent auth across rebuilds
- Zero re-login cost

Fixes issue #26 (auth persistence on rebuild).
Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>

Entire-Checkpoint: 579825e803a2
@Tomeriko96 Tomeriko96 closed this Sep 25, 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.

1 participant