cerc-fixturenet-eth-genesis-postmerge/Dockerfile: add gcc, no cgo
This commit is contained in:
parent
36b829a552
commit
7d5770ac9e
@ -2,16 +2,16 @@ FROM ethpandaops/ethereum-genesis-generator:3.0.0 AS ethgen
|
|||||||
|
|
||||||
FROM golang:1.21-alpine as builder
|
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
|
# Install ethereum-genesis-generator tools
|
||||||
COPY --from=ethgen /apps /apps
|
COPY --from=ethgen /apps /apps
|
||||||
RUN cd /apps/el-gen && pip3 install --break-system-packages -r requirements.txt
|
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"
|
RUN pip3 install --break-system-packages --upgrade "typing-extensions"
|
||||||
|
|
||||||
# Install tool to generate initial block
|
# 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
|
# Build genesis config
|
||||||
COPY genesis /opt/genesis
|
COPY genesis /opt/genesis
|
||||||
|
Loading…
Reference in New Issue
Block a user