chore(reach): bake net + debug tools into the sandbox image#7
Merged
Conversation
Add iproute2, net-tools, dnsutils, iputils-ping, jq, procps, less, and wget to the runtime image. The original layer 1 only had curl, which made debugging "is service X actually listening?" inside the sandbox require an apt-get install at exec time — slow, ugly, and impossible when the container is offline. These are baseline troubleshooting tools every Linux box has. Total image size delta is ~12 MB compressed; the convenience cost of NOT having ss/dig/ping at the ready is much higher than that. Driven by a session where I had to apt-install iproute2 + net-tools inside a running sandbox just to verify Chrome's remote debugging port was bound on 0.0.0.0:9222. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
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
Add `iproute2`, `net-tools`, `dnsutils`, `iputils-ping`, `jq`, `procps`, `less`, and `wget` to the runtime layer of the reach Docker image.
Why
Original layer 1 only had `curl`. Debugging "is service X actually listening?" inside the sandbox required `apt-get install` at exec time — slow, ugly, and impossible when the container is offline.
These are baseline Linux troubleshooting tools (`ss`, `dig`, `ping`, `netstat`, `jq`, `ps`). Image size delta is ~12 MB compressed; the convenience cost of NOT having them at the ready is much higher than that.
Discovered while
Wiring Chrome's remote debugging port through reach to a host process — had to apt-install iproute2 + net-tools inside the running sandbox just to verify the port was bound on `0.0.0.0:9222`.
Test plan
🤖 Generated with Claude Code