Skip to content

feat: wire up extra_packages config to Docker image build#10

Merged
robmorgan merged 1 commit intomainfrom
wire-extra-packages-docker-build
Feb 10, 2026
Merged

feat: wire up extra_packages config to Docker image build#10
robmorgan merged 1 commit intomainfrom
wire-extra-packages-docker-build

Conversation

@robmorgan
Copy link
Copy Markdown
Owner

Summary

  • The extra_packages config field was defined in metamorph.toml and documented in the README but never wired up — users setting it got no effect
  • Pass extra_packages as a Docker --build-arg (EXTRA_PACKAGES) so additional apt packages are installed into the agent image at build time
  • Added ARG/conditional RUN block to the Dockerfile, updated BuildImage interface and implementation, and added tests verifying the build arg is forwarded correctly

Test plan

  • go build ./... compiles cleanly
  • go test ./... — all tests pass
  • New test cases verify EXTRA_PACKAGES build arg is set when packages are provided and omitted when empty

🤖 Generated with Claude Code

The extra_packages field was defined in the config and documented in the
README but never actually used. Pass it as a Docker build arg so users
can install additional apt packages into the agent image.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@robmorgan robmorgan merged commit 4c7796f into main Feb 10, 2026
1 of 2 checks passed
@robmorgan robmorgan deleted the wire-extra-packages-docker-build branch February 10, 2026 03:43
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