Repository navigation
shared/echo: Copy the echo server from its image - #1720
Merged
Merged
Conversation
There was a problem hiding this comment.
🟢 Approval recommended
No active review issues remain for the change to copy the echo binary from a digest-pinned toolshed image.
No open issues 🎉
What changed in this PR
Simplifies the shared echo image build by copying the server binary from a digest-pinned toolshed image, removing package installation and GitHub release downloads that could fail in CI.
Changes:
- Adds
envoyproxy/toolshed:echo-v0.1.0, pinned by digest, as the binary source. - Replaces download, checksum, and installation steps with a direct copy to
/usr/local/bin/example-echo.
| File | Description |
|---|---|
shared/echo/Dockerfile |
Copies the echo binary from a pinned image instead of installing packages and downloading it. |
Review effort: Balanced
phlax
marked this pull request as ready for review
November 30, 2026 21:57
The echo server was downloaded from a GitHub release when the image was built, which needed curl to be installed first. Either can fail, and a failed download has failed an example in CI. Copy it from the image that toolshed publishes, as is done for the healthcheck. The image is pinned by digest, and nothing is installed. Signed-off-by: Ryan Northey <ryan@synca.io>
phlax
force-pushed
the
echo-from-image
branch
from
November 30, 2026 21:58
902b524 to
65f6205
Compare
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.
The echo server was downloaded from a toolshed GitHub release when the image was built, after an
apt-get installofcurl. Either can fail, and a failed download (curl: (22) The requested URL returned error: 618) failedreverse_tunnelin Envoy's CI.Copy the binary from
envoyproxy/toolshed:echo-v0.1.0, pinned by digest, as is done for the healthcheck. Nothing is installed in the image now: the binary only links to libc, libm and libgcc.