Skip to content

Commit

Permalink
update images to use alpine / static versions
Browse files Browse the repository at this point in the history
  • Loading branch information
danyalprout committed Jun 13, 2024
1 parent 4ee230c commit bd5b7d6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Dockerfile.geth
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ RUN git clone $REPO --branch $VERSION --single-branch . && \

RUN go run build/ci.go install -static ./cmd/geth

FROM golang:1.21
FROM ubuntu:22.04

RUN apt-get update && \
apt-get install -y jq curl supervisor && \
Expand Down
6 changes: 3 additions & 3 deletions Dockerfile.reth
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ RUN git clone $REPO --branch op-node/$VERSION --single-branch . && \
RUN cd op-node && \
make VERSION=$VERSION op-node

FROM rust AS reth
FROM rust:1.78 AS reth

ARG FEATURES=jemalloc,asm-keccak,optimism

Expand All @@ -26,9 +26,9 @@ ENV REPO=https://github.com/paradigmxyz/reth.git
ENV COMMIT=1c148e7f030f0b6b3610564e0142c799756666f4

RUN git clone $REPO . && git checkout $COMMIT
RUN cargo build --bin op-reth --locked --features jemalloc,optimism --profile maxperf
RUN cargo build --bin op-reth --locked --features $FEATURES --profile maxperf

FROM golang:1.21
FROM ubuntu:22.04

RUN apt-get update && \
apt-get install -y jq curl supervisor && \
Expand Down

0 comments on commit bd5b7d6

Please sign in to comment.