Skip to content

Commit

Permalink
Update Reth (#286)
Browse files Browse the repository at this point in the history
  • Loading branch information
danyalprout authored Jun 27, 2024
1 parent 50fc6e9 commit 8e7460e
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions reth/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,10 @@ WORKDIR /app

RUN apt-get update && apt-get -y upgrade && apt-get install -y git libclang-dev pkg-config curl build-essential

ENV REPO=https://github.com/paradigmxyz/reth.git
ENV VERSION=v1.0.0-rc.2
ENV COMMIT=d786b459d93a6e1f7cf903a37f0542aafd671e7f
RUN git clone $REPO --branch $VERSION --single-branch . && \
git switch -c branch-$VERSION && \
bash -c '[ "$(git rev-parse HEAD)" = "$COMMIT" ]'
#TODO: Revert to upstream, once https://github.com/paradigmxyz/reth/pull/9105 is merged.
ENV REPO=https://github.com/danyalprout/reth.git
ENV COMMIT=c79cbf4a918480556bd37204942a2d69827fed9f
RUN git clone $REPO . && git checkout $COMMIT

RUN cargo build --bin op-reth --locked --features $FEATURES --profile maxperf

Expand Down

1 comment on commit 8e7460e

@slayer7opu
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

comprehensive

Please sign in to comment.