Bundle fireeth into op-reth Dockerfile.sf image#2
Merged
Conversation
Base the Dockerfile.sf runtime stage on the firehose-ethereum image (mirrors streamingfast/base) so the published image ships both fireeth and op-reth, with fireeth as the entrypoint driving op-reth as its reader node. op-reth stays at /usr/local/bin/op-reth so sf-release.yml's docker cp release asset is unchanged. Add a FIREHOSE_ETHEREUM build arg (default latest) plumbed from a new workflow_dispatch input, and trigger the build workflow on the work branch. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
/app/op-reth is the crate source dir in the builder stage, so copying the binary to /app/op-reth nested it at /app/op-reth/op-reth. Stage it at /app/op-reth-bin so /usr/local/bin/op-reth is the binary file (not a dir) and docker cp / the /app/op-reth symlink resolve correctly. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
maoueh
approved these changes
Jun 16, 2026
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.
Base the
op-reth/Dockerfile.sfruntime stage on thefirehose-ethereumimage (mirrors streamingfast/base's Dockerfile.sf), so the published image ships bothfireethandop-reth.fireethis the entrypoint and drivesop-rethas its reader node.Changes
rust/op-reth/Dockerfile.sfchainguard/wolfi-base→ghcr.io/streamingfast/firehose-ethereum:${FIREHOSE_ETHEREUM}(defaultlatest).op-rethstays at/usr/local/bin/op-reth(sosf-release.yml'sdocker cprelease asset is unchanged), symlinked into/appnext tofireeth.op-rethENTRYPOINT to inherit fireeth's (/app/fireeth)./app/op-rethis the crate source dir in the builder, so the binary is now staged at/app/op-reth-bin..github/workflows/sf-release.ymlFIREHOSE_ETHEREUMbuild arg, plumbed from aworkflow_dispatchinput (defaultlatest).Behavior change
docker run <image>now starts fireeth, not op-reth directly. Run op-reth standalone viadocker run --entrypoint /usr/local/bin/op-reth <image>.🤖 Generated with Claude Code