fixturenet-eth-stacks/stack-orchestrator/container-build/cerc-fixturenet-eth-lighthouse/Dockerfile
Thomas E Lackey 99ea065389
All checks were successful
Ethereum Fixturenet Stack Test / Run Ethereum Fixturenet stack test (push) Successful in 24m49s
Use geth v1.14 (#7)
Co-authored-by: David Boreham <david@bozemanpass.com>
Reviewed-on: #7
2024-05-31 18:07:20 +00:00

31 lines
1017 B
Docker

FROM cerc/lighthouse-cli:local AS lcli
FROM cerc/fixturenet-eth-genesis-postmerge:local AS fnetgen
FROM cerc/lighthouse:local
# cerc/lighthouse is based on Ubuntu
RUN apt-get update && apt-get -y upgrade && apt-get install -y --no-install-recommends \
libssl-dev ca-certificates \
curl socat iproute2 telnet wget jq \
build-essential python3 python3-dev python3-pip gettext-base \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/*
COPY --from=lcli /usr/local/bin/lcli /usr/local/bin/lcli
COPY --from=fnetgen /opt/genesis/el /opt/testnet/el
COPY --from=fnetgen /opt/genesis/build/el /opt/testnet/build/el
COPY genesis /opt/testnet
COPY run-cl.sh /opt/testnet/run.sh
RUN cd /opt/testnet && make genesis-cl
# Work around some bugs in lcli where the default path is always used.
RUN mkdir -p /root/.lighthouse && cd /root/.lighthouse && ln -s /opt/testnet/build/cl/testnet
RUN mkdir -p /scripts
COPY scripts/status-internal.sh /scripts
COPY scripts/status.sh /scripts
ENTRYPOINT ["/opt/testnet/run.sh"]