Skip to content
Open
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
11 changes: 7 additions & 4 deletions op-node/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,14 +1,17 @@
FROM golang:1.24.2-alpine3.21@sha256:7772cb5322baa875edd74705556d08f0eeca7b9c4b5367754ce3f2f00041ccee AS builder
FROM golang:1.24.2@sha256:30baaea08c5d1e858329c50f29fe381e9b7d7bced11a0f5f1f69a1504cdfbf5e AS builder

RUN apk add --update git make cargo bash
ENV GOOS=linux

RUN apt update
RUN apt install -y git make bash curl

RUN curl https://sh.rustup.rs -sSf | sh -s -- -y
ENV PATH="${PATH}:/root/.cargo/bin"
RUN echo "export PATH=$PATH" >> /etc/profile

WORKDIR /git
RUN git clone https://github.com/casey/just
WORKDIR /git/just
RUN git checkout f028de5b258a0cc4696b9dea729cc7d4d5828baa
RUN cargo install just

ARG VERSION=v0.0.0 TARGETOS TARGETARCH
Expand Down Expand Up @@ -41,4 +44,4 @@ COPY --from=builder /optimism/op-proposer/bin/op-proposer /bin/op-proposer

COPY --from=builder /optimism/op-conductor/bin/op-conductor /bin/op-conductor

CMD ['op-node']
CMD ['op-node']