update
This commit is contained in:
@@ -1,11 +1,11 @@
|
|||||||
FROM golang:1.20 as op
|
FROM golang:1.21 as op
|
||||||
|
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
|
|
||||||
ENV REPO=https://github.com/ethereum-optimism/optimism.git
|
ENV REPO=https://github.com/ethereum-optimism/optimism.git
|
||||||
ENV VERSION=v1.4.2
|
ENV VERSION=v1.5.0
|
||||||
# for verification:
|
# for verification:
|
||||||
ENV COMMIT=f2229b8b955e53408be0775a22d7f9f162b0de66
|
ENV COMMIT=6de6b5fc81d8ee03bb776219ba25189a04712f99
|
||||||
|
|
||||||
RUN git clone $REPO --branch op-node/$VERSION --single-branch . && \
|
RUN git clone $REPO --branch op-node/$VERSION --single-branch . && \
|
||||||
git switch -c branch-$VERSION && \
|
git switch -c branch-$VERSION && \
|
||||||
@@ -14,14 +14,14 @@ RUN git clone $REPO --branch op-node/$VERSION --single-branch . && \
|
|||||||
RUN cd op-node && \
|
RUN cd op-node && \
|
||||||
make op-node
|
make op-node
|
||||||
|
|
||||||
FROM golang:1.20 as geth
|
FROM golang:1.21 as geth
|
||||||
|
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
|
|
||||||
ENV REPO=https://github.com/ethereum-optimism/op-geth.git
|
ENV REPO=https://github.com/ethereum-optimism/op-geth.git
|
||||||
ENV VERSION=v1.101304.2
|
ENV VERSION=v1.101305.3
|
||||||
# for verification:
|
# for verification:
|
||||||
ENV COMMIT=c6b416da212fe6713ff40b8092303d0035405a47
|
ENV COMMIT=ea3c3044010f97fb3d9affa0dd3c0c2beea85882
|
||||||
|
|
||||||
# avoid depth=1, so the geth build can read tags
|
# avoid depth=1, so the geth build can read tags
|
||||||
RUN git clone $REPO --branch $VERSION --single-branch . && \
|
RUN git clone $REPO --branch $VERSION --single-branch . && \
|
||||||
@@ -30,7 +30,7 @@ RUN git clone $REPO --branch $VERSION --single-branch . && \
|
|||||||
|
|
||||||
RUN go run build/ci.go install -static ./cmd/geth
|
RUN go run build/ci.go install -static ./cmd/geth
|
||||||
|
|
||||||
FROM golang:1.19
|
FROM golang:1.21
|
||||||
|
|
||||||
RUN apt-get update && \
|
RUN apt-get update && \
|
||||||
apt-get install -y jq curl && \
|
apt-get install -y jq curl && \
|
||||||
|
|||||||
Reference in New Issue
Block a user