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 @@ -15,22 +15,20 @@ RUN curl -sSfL 'https://just.systems/install.sh' | bash -s -- --to /usr/local/bi
RUN cd op-node && \
make VERSION=$VERSION op-node

FROM rust:1.82 AS reth

ARG FEATURES=jemalloc,asm-keccak,optimism
FROM rust:1.85 AS reth

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.2.0
ENV COMMIT=1e965caf5fa176f244a31c0d2662ba1b590938db
ENV VERSION=v1.3.0
ENV COMMIT=a38c991c363d241894867a89324b8670be2f6a44
RUN git clone $REPO --branch $VERSION --single-branch . && \
git switch -c branch-$VERSION && \
bash -c '[ "$(git rev-parse HEAD)" = "$COMMIT" ]'

RUN cargo build --bin op-reth --features $FEATURES --profile maxperf --manifest-path crates/optimism/bin/Cargo.toml
RUN cargo build --bin op-reth --profile maxperf --manifest-path crates/optimism/bin/Cargo.toml

FROM ubuntu:22.04

Expand Down