Add Plugeth stack #14

Merged
roysc merged 24 commits from plugeth-stack into main 2024-07-10 01:28:10 +00:00
Showing only changes of commit 7d5770ac9e - Show all commits

View File

@ -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