cerc-fixturenet-eth-genesis-postmerge/Dockerfile: add gcc, no cgo
Some checks failed
Test Ethereum Plugeth Fixturenet Stack / Test fixturenet-plugeth stack (push) Failing after 11m59s
Test Ethereum Fixturenet Stack / Run Ethereum Fixturenet stack test (push) Failing after 13m27s

This commit is contained in:
Roy Crihfield 2024-06-27 19:23:17 +08:00
parent 36b829a552
commit 7d5770ac9e

View File

@ -2,16 +2,16 @@ FROM ethpandaops/ethereum-genesis-generator:3.0.0 AS ethgen
FROM golang:1.21-alpine as builder
RUN apk add --no-cache python3 py3-pip make bash envsubst jq
RUN apk add --no-cache python3 py3-pip make bash envsubst jq gcc
# Install ethereum-genesis-generator tools
COPY --from=ethgen /apps /apps
RUN cd /apps/el-gen && pip3 install --break-system-packages -r requirements.txt
RUN pip3 install --break-system-packages --upgrade "web3==v6.15.1"
RUN pip3 install --break-system-packages --upgrade "web3>=v6.15.1"
RUN pip3 install --break-system-packages --upgrade "typing-extensions"
# Install tool to generate initial block
RUN go install github.com/cerc-io/eth-dump-genblock@v0.2.0
RUN CGO_ENABLED=0 go install github.com/cerc-io/eth-dump-genblock@v0.2.0
# Build genesis config
COPY genesis /opt/genesis