* cerc-fixturenet-eth-genesis/Dockerfile: fix build on gitea
This commit is contained in:
parent
822c4c1f3b
commit
84c95a607f
@ -1,6 +1,6 @@
|
|||||||
FROM skylenet/ethereum-genesis-generator@sha256:210353ce7c898686bc5092f16c61220a76d357f51eff9c451e9ad1b9ad03d4d3 AS ethgen
|
FROM skylenet/ethereum-genesis-generator@sha256:210353ce7c898686bc5092f16c61220a76d357f51eff9c451e9ad1b9ad03d4d3 AS ethgen
|
||||||
|
|
||||||
FROM golang:1.20-alpine as builder
|
FROM golang:1.20-alpine3.18 as builder
|
||||||
|
|
||||||
RUN apk add --no-cache python3 py3-pip
|
RUN apk add --no-cache python3 py3-pip
|
||||||
|
|
||||||
@ -22,6 +22,6 @@ RUN cd /opt/genesis && make genesis-el
|
|||||||
RUN go install github.com/cerc-io/eth-dump-genblock@latest
|
RUN go install github.com/cerc-io/eth-dump-genblock@latest
|
||||||
RUN eth-dump-genblock /opt/genesis/build/el/geth.json > /opt/genesis/build/el/genesis_block.json
|
RUN eth-dump-genblock /opt/genesis/build/el/geth.json > /opt/genesis/build/el/genesis_block.json
|
||||||
|
|
||||||
FROM alpine:latest
|
FROM alpine:3.18
|
||||||
|
|
||||||
COPY --from=builder /opt/genesis /opt/genesis
|
COPY --from=builder /opt/genesis /opt/genesis
|
||||||
|
Loading…
Reference in New Issue
Block a user