fix
This commit is contained in:
@@ -31,7 +31,7 @@ ENV OP_NODE_REPO=https://github.com/ethereum-optimism/optimism.git
|
|||||||
ARG OP_NODE_VERSION
|
ARG OP_NODE_VERSION
|
||||||
ARG OP_NODE_COMMIT
|
ARG OP_NODE_COMMIT
|
||||||
RUN git clone $OP_NODE_REPO --branch op-node/$OP_NODE_VERSION --single-branch . && \
|
RUN git clone $OP_NODE_REPO --branch op-node/$OP_NODE_VERSION --single-branch . && \
|
||||||
git switch -c branch-$OP_NODE_VERSION
|
git switch -c $OP_NODE_VERSION
|
||||||
|
|
||||||
# Install pnpm
|
# Install pnpm
|
||||||
RUN npm install -g pnpm && \
|
RUN npm install -g pnpm && \
|
||||||
@@ -76,7 +76,7 @@ ARG OP_GETH_COMMIT
|
|||||||
|
|
||||||
# avoid depth=1, so the geth build can read tags
|
# avoid depth=1, so the geth build can read tags
|
||||||
RUN git clone $OP_GETH_REPO --branch $OP_GETH_VERSION --single-branch . && \
|
RUN git clone $OP_GETH_REPO --branch $OP_GETH_VERSION --single-branch . && \
|
||||||
git switch -c branch-$OP_GETH_VERSION
|
git switch -c $OP_GETH_VERSION
|
||||||
|
|
||||||
RUN go run build/ci.go install -static ./cmd/geth
|
RUN go run build/ci.go install -static ./cmd/geth
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user