Skip to content

Commit

Permalink
chore(Dockerfile): add --package=${RBUILDER_BIN} to fix reth-rbuilder…
Browse files Browse the repository at this point in the history
… container (flashbots#250)

## 📝 Summary

The addition of `default-members = ["crates/rbuilder"]` in flashbots#244 broke
the ability to use `docker build --build-arg RBUILDER_BIN=reth-rbuilder`
to build a `reth-rbuilder` container, this should re-enable it.

## 💡 Motivation and Context

We're using the `reth-rbuilder` container in kurtosis for Pectra
testing.

---

## ✅ I have completed the following steps:

* [ ] Run `make lint`
* [ ] Run `make test`
* [ ] Added tests (if applicable)

---------

Co-authored-by: liamaharon <liam.aharon@hotmail.com>
  • Loading branch information
ryanschneider and liamaharon authored Nov 21, 2024
1 parent 70579d1 commit 6d9b723
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ COPY ./crates/ ./crates/
RUN --mount=type=cache,target=/usr/local/cargo/registry \
--mount=type=cache,target=/usr/local/cargo/git \
--mount=type=cache,target=$SCCACHE_DIR,sharing=locked \
cargo build --release --features="$FEATURES" --bin=${RBUILDER_BIN}
cargo build --release --features="$FEATURES" --package=${RBUILDER_BIN}

#
# Runtime container
Expand Down

0 comments on commit 6d9b723

Please sign in to comment.