You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
refactor(sdk): decouple _ImageResolver builder lifecycle and sync push creds
- Split _ImageResolver into create_builder() / resolve() / resolve_with_builder()
so callers (notably tests) can manage the builder sandbox themselves and inject
environment-specific setup (e.g. iptables NAT) before the build runs.
The original resolve() now reliably stops the builder in a finally block.
- Sandbox.start() now syncs Image.registry_{username,password} to the config so
admin gets the credentials it needs to pull the image we just pushed.
- Default ROCK_IMAGE_BUILDER_IMAGE bumped to :latest so all instances pick up the
builder image with bip=192.168.250.0/24 (avoids 172.17/16 collision with admin's
docker0) and insecure-registries pre-configured for local test registries.
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
0 commit comments