This commit is contained in:
Sebastian
2024-07-12 00:02:40 +02:00
parent 270ff15621
commit ab7f9b9cec
2 changed files with 2 additions and 6 deletions

View File

@@ -7,9 +7,7 @@ services:
dockerfile: Dockerfile.debug dockerfile: Dockerfile.debug
args: args:
OP_GETH_VERSION: v1.101315.2 OP_GETH_VERSION: v1.101315.2
ARG OP_GETH_COMMIT: 7c2819836018bfe0ca07c4e4955754834ffad4e0
OP_NODE_VERSION: v1.7.7 OP_NODE_VERSION: v1.7.7
OP_NODE_COMMIT: f8143c8cbc4cc0c83922c53f17a1e47280673485
expose: expose:
- 8545 # RPC / Websocket - 8545 # RPC / Websocket
- 18322 # P2P TCP (currently unused) - 18322 # P2P TCP (currently unused)

View File

@@ -27,8 +27,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 branch-$OP_NODE_VERSION
bash -c '[ "$(git rev-parse HEAD)" = "$OP_NODE_COMMIT" ]'
# Install pnpm # Install pnpm
RUN npm install -g pnpm && \ RUN npm install -g pnpm && \
@@ -73,8 +72,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 branch-$OP_GETH_VERSION
bash -c '[ "$(git rev-parse HEAD)" = "$OP_GETH_COMMIT" ]'
RUN go run build/ci.go install -static ./cmd/geth RUN go run build/ci.go install -static ./cmd/geth