This commit is contained in:
Sebastian
2024-10-26 07:14:11 +02:00
parent 808082a7c2
commit 1882de3f16

View File

@@ -31,7 +31,7 @@ ENV OP_NODE_REPO=https://github.com/ethereum-optimism/optimism.git
ARG OP_NODE_VERSION
ARG OP_NODE_COMMIT
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
RUN npm install -g pnpm && \
@@ -76,7 +76,7 @@ ARG OP_GETH_COMMIT
# avoid depth=1, so the geth build can read tags
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