Roy Crihfield
0d63b95f7d
Adds definitions for Plugeth stack and `ipld-eth-db`. Uses cerc-io/stack-orchestrator#851 in tests. Reviewed-on: #14
18 lines
499 B
Docker
18 lines
499 B
Docker
FROM ethpandaops/ethereum-genesis-generator:3.0.0 AS ethgen
|
|
|
|
# Build genesis config
|
|
ADD genesis /opt/genesis
|
|
RUN cd /opt/genesis && make genesis-el
|
|
|
|
FROM golang:1.21-alpine as builder
|
|
|
|
COPY --from=ethgen /opt/genesis /opt/genesis
|
|
|
|
# Snag the genesis block info.
|
|
RUN CGO_ENABLED=0 go install github.com/cerc-io/eth-dump-genblock@v0.2.0
|
|
RUN eth-dump-genblock /opt/genesis/build/el/geth.json > /opt/genesis/build/el/genesis_block.json
|
|
|
|
FROM alpine:latest
|
|
|
|
COPY --from=builder /opt/genesis /opt/genesis
|