fix
This commit is contained in:
@@ -7,9 +7,7 @@ services:
|
||||
dockerfile: Dockerfile.debug
|
||||
args:
|
||||
OP_GETH_VERSION: v1.101315.2
|
||||
ARG OP_GETH_COMMIT: 7c2819836018bfe0ca07c4e4955754834ffad4e0
|
||||
OP_NODE_VERSION: v1.7.7
|
||||
OP_NODE_COMMIT: f8143c8cbc4cc0c83922c53f17a1e47280673485
|
||||
expose:
|
||||
- 8545 # RPC / Websocket
|
||||
- 18322 # P2P TCP (currently unused)
|
||||
|
||||
@@ -27,8 +27,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 && \
|
||||
bash -c '[ "$(git rev-parse HEAD)" = "$OP_NODE_COMMIT" ]'
|
||||
git switch -c branch-$OP_NODE_VERSION
|
||||
|
||||
# Install pnpm
|
||||
RUN npm install -g pnpm && \
|
||||
@@ -73,8 +72,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 && \
|
||||
bash -c '[ "$(git rev-parse HEAD)" = "$OP_GETH_COMMIT" ]'
|
||||
git switch -c branch-$OP_GETH_VERSION
|
||||
|
||||
RUN go run build/ci.go install -static ./cmd/geth
|
||||
|
||||
|
||||
Reference in New Issue
Block a user