This commit is contained in:
Sebastian
2024-06-03 10:56:18 +02:00
parent 6d6ffeeae8
commit 729a09d780

View File

@@ -3,9 +3,9 @@ FROM golang:1.21 as op
WORKDIR /app
ENV REPO=https://github.com/ethereum-optimism/optimism.git
ENV VERSION=v1.7.1
ENV VERSION=v1.7.6
# for verification:
ENV COMMIT=c87a469d7d679e8a4efbace56c3646b925bcc009
ENV COMMIT=4a487b8920daa9dc4b496d691d5f283f9bb659b1
RUN git clone $REPO --branch op-node/$VERSION --single-branch . && \
git switch -c branch-$VERSION && \
@@ -19,9 +19,9 @@ FROM golang:1.21 as geth
WORKDIR /app
ENV REPO=https://github.com/ethereum-optimism/op-geth.git
ENV VERSION=v1.101308.2
ENV VERSION=v1.101315.1
# for verification:
ENV COMMIT=0402d543c3d0cff3a3d344c0f4f83809edb44f10
ENV COMMIT=3fbae78d638d1b903e702a14f98644c1103ae1b3
# avoid depth=1, so the geth build can read tags
RUN git clone $REPO --branch $VERSION --single-branch . && \