fixturenet-eth-stacks/stack-orchestrator/container-build/cerc-fixturenet-eth-genesis-postmerge/Dockerfile
Roy Crihfield f20687674a
All checks were successful
Test Ethereum Fixturenet Stack / Run Ethereum Fixturenet stack test (push) Successful in 19m1s
Test Ethereum Plugeth Fixturenet Stack / Test fixturenet-plugeth stack (ubuntu-latest-arm) (push) Successful in 28m42s
Test Ethereum Plugeth Fixturenet Stack / Test fixturenet-plugeth stack (ubuntu-latest) (push) Successful in 32m24s
Add ipld-eth-server to plugeth fixturenet (#21)
Part of cerc-io/stack-orchestrator#905.

Reviewed-on: #21
Reviewed-by: David Boreham <dboreham@noreply.git.vdb.to>
2024-08-05 19:15:58 +00:00

20 lines
559 B
Docker

FROM ethpandaops/ethereum-genesis-generator:3.0.0 AS ethgen
# Build genesis config
ADD genesis /opt/genesis
WORKDIR /opt/genesis
RUN make genesis-el
RUN jq ".config" build/el/geth.json > build/el/chain.json
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