1
0
stack-orchestrator/app/data/container-build/cerc-go-ethereum-foundry/Dockerfile
David Boreham 5767b93e6a Use our locally built foundry container
Former-commit-id: da24a4edf66f9475d5f7c730ff0342b52cd7fa4c
2023-03-24 18:23:35 -06:00

20 lines
527 B
Docker

FROM cerc/foundry:local
RUN apk update ; apk add --no-cache --allow-untrusted ca-certificates curl bash git jq
RUN apk add --no-cache --upgrade grep
WORKDIR /root
ARG GENESIS_FILE_PATH=genesis.json
COPY stateful ./stateful
COPY start-private-network.sh .
COPY deploy-local-network.sh .
COPY $GENESIS_FILE_PATH ./genesis.json
# TODO: figure out if this works for aarm64
COPY --from=cerc/go-ethereum:local /usr/local/bin/geth /bin/geth
RUN chmod +x /bin/geth
EXPOSE 8545
EXPOSE 8546
ENTRYPOINT ["./start-private-network.sh"]