mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-31 00:53:46 +00:00
working version for block size in bytes
This commit is contained in:
parent
588539bbeb
commit
749f59d672
2 changed files with 11 additions and 11 deletions
|
|
@ -2,11 +2,11 @@ FROM golang:1.21-alpine AS builder
|
|||
|
||||
RUN apk add --no-cache gcc musl-dev linux-headers git make
|
||||
|
||||
COPY go.mod /go-ethereum/
|
||||
COPY go.sum /go-ethereum/
|
||||
COPY ../go.mod /go-ethereum/
|
||||
COPY ../go.sum /go-ethereum/
|
||||
RUN cd /go-ethereum && go mod download
|
||||
|
||||
ADD . /go-ethereum
|
||||
ADD .. /go-ethereum
|
||||
RUN cd /go-ethereum && go run build/ci.go install -static ./cmd/geth
|
||||
|
||||
FROM alpine:latest
|
||||
|
|
@ -15,9 +15,9 @@ RUN apk add --no-cache jq
|
|||
|
||||
COPY --from=builder /go-ethereum/build/bin/geth /usr/local/bin/
|
||||
|
||||
COPY genesis.json /genesis.json
|
||||
COPY geth-poa/genesis.json /genesis.json
|
||||
|
||||
COPY entrypoint.sh /entrypoint.sh
|
||||
COPY geth-poa/entrypoint.sh /entrypoint.sh
|
||||
|
||||
RUN chmod +x /entrypoint.sh
|
||||
|
||||
|
|
|
|||
|
|
@ -2,8 +2,8 @@ version: '3'
|
|||
services:
|
||||
bootnode:
|
||||
build:
|
||||
context: .
|
||||
dockerfile: Dockerfile
|
||||
context: ..
|
||||
dockerfile: geth-poa/Dockerfile
|
||||
environment:
|
||||
- GETH_NODE_TYPE=bootnode
|
||||
- BOOT_KEY=7b548c1c0fbe80ef1eb0aaec2edf26fd20fb0d758e94948cf6c5f2a486e735f6
|
||||
|
|
@ -41,8 +41,8 @@ services:
|
|||
|
||||
node1:
|
||||
build:
|
||||
context: .
|
||||
dockerfile: Dockerfile
|
||||
context: ..
|
||||
dockerfile: geth-poa/Dockerfile
|
||||
environment:
|
||||
- GETH_NODE_TYPE=signer
|
||||
- BLOCK_SIGNER_ADDRESS=0xd9cd8E5DE6d55f796D980B818D350C0746C25b97
|
||||
|
|
@ -71,8 +71,8 @@ services:
|
|||
|
||||
node2:
|
||||
build:
|
||||
context: .
|
||||
dockerfile: Dockerfile
|
||||
context: ..
|
||||
dockerfile: geth-poa/Dockerfile
|
||||
environment:
|
||||
- GETH_NODE_TYPE=signer
|
||||
- BLOCK_SIGNER_ADDRESS=0x788EBABe5c3dD422Ef92Ca6714A69e2eabcE1Ee4
|
||||
|
|
|
|||
Loading…
Reference in a new issue