feat(docker): richer multi-stage agent image - #4
Merged
Merged
Conversation
Rebuild forge-agent:latest as a multi-stage Dockerfile: parallel rust/go/tools builder stages + the existing agent base. Adds uv+Python 3.11, Rust 1.93, Go 1.24.4, AWS CLI v2, lazygit/delta/bat/starship, ruff/black/isort/mypy, tmux/htop/direnv, and curated secret-free dotfiles + vim-gitgutter. NOTE: not built locally (Colima VM had no egress); verify build in CI / on a networked machine before merge.
Point the default agent image at thunderockforge/forge-agent:latest so Docker-mode tasks pull it from Hub instead of building locally (DEFAULT_DOCKER_IMAGE, DOCKER_DEFAULT_IMAGE, and the store/persistence/ui defaults). Add .github/workflows/docker-image.yml: PRs touching docker/** build (amd64) to verify; push to main builds multi-arch on native runners and publishes :latest. Requires DOCKERHUB_USERNAME + DOCKERHUB_TOKEN secrets.
Slim the shipped agent image and bake the gsd (get-shit-done) workflow layer in so Docker-mode agents have it available. - Remove starship, tmux, and the `set -o emacs` readline mode - Bake gsd into the /home/agent skeleton (~/.claude via get-shit-done-cc --global + secret-free ~/.gsd/defaults.json) - Seed gsd into each task's per-agent $HOME at container start (pty.ts); cp -an is no-clobber so a shared-auth .claude bind mount keeps creds - Antigravity (agy) intentionally kept Local image build is blocked by the Colima VM egress; the gsd install step is verified by the CI `verify` job.
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.
Rebuild forge-agent:latest as a multi-stage Dockerfile: parallel rust/go/tools builder stages + the existing agent base. Adds uv+Python 3.11, Rust 1.93, Go 1.24.4, AWS CLI v2, lazygit/delta/bat/starship, ruff/black/isort/mypy, tmux/htop/direnv, and curated secret-free dotfiles + vim-gitgutter. NOTE: not built locally (Colima VM had no egress); verify build in CI / on a networked machine before merge.