Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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