Thomas E Lackey
edc2e0756c
All checks were successful
Ethereum Fixturenet Stack Test / Run Ethereum Fixturenet stack test (push) Successful in 24m1s
Reviewed-on: #6 Co-authored-by: Thomas E Lackey <telackey@bozemanpass.com> Co-committed-by: Thomas E Lackey <telackey@bozemanpass.com>
22 lines
754 B
Docker
22 lines
754 B
Docker
FROM cerc/fixturenet-eth-genesis-premerge:local as fnetgen
|
|
FROM ethereum/client-go:release-1.11 as geth
|
|
|
|
# Using the same golang image as used to build geth: https://github.com/cerc-io/go-ethereum/blob/HEAD/Dockerfile
|
|
FROM golang:1.21-alpine as delve
|
|
RUN go install github.com/go-delve/delve/cmd/dlv@latest
|
|
|
|
FROM alpine:3.17
|
|
|
|
RUN apk add --no-cache bash wget python3 bind-tools postgresql-client
|
|
|
|
COPY run-el.sh /opt/testnet/run.sh
|
|
|
|
COPY --from=delve /go/bin/dlv /usr/local/bin/
|
|
COPY --from=geth /usr/local/bin/geth /usr/local/bin/
|
|
COPY --from=fnetgen /opt/genesis /opt/testnet
|
|
|
|
# Initialize the geth db with our config
|
|
RUN geth --datadir ~/ethdata init /opt/testnet/build/el/geth.json && rm -f ~/ethdata/geth/nodekey
|
|
|
|
ENTRYPOINT ["/opt/testnet/run.sh"]
|