Nabarun
3477e8ff96
Some checks are pending
Test Ethereum Plugeth Fixturenet Stack / Test fixturenet-plugeth stack (ubuntu-latest-arm) (push) Waiting to run
Test Ethereum Fixturenet Stack / Run Ethereum Fixturenet stack test (push) Successful in 21m16s
Test Ethereum Plugeth Fixturenet Stack / Test fixturenet-plugeth stack (ubuntu-latest) (push) Successful in 34m42s
Part of [Create bridge channel in go-nitro](https://www.notion.so/Create-bridge-channel-in-go-nitro-22ce80a0d8ae4edb80020a8f250ea270) Reviewed-on: #22 Reviewed-by: ashwin <ashwin@noreply.git.vdb.to> Co-authored-by: Nabarun <nabarun@deepstacksoft.com> Co-committed-by: Nabarun <nabarun@deepstacksoft.com>
24 lines
782 B
Docker
24 lines
782 B
Docker
FROM cerc/fixturenet-eth-genesis-postmerge:local as fnetgen
|
|
FROM ethereum/client-go:v1.14.8 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 --state.scheme hash \
|
|
init /opt/testnet/build/el/geth.json && \
|
|
rm -f ~/ethdata/geth/nodekey
|
|
|
|
ENTRYPOINT ["/opt/testnet/run.sh"]
|