mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-28 15:46:43 +00:00
This PR removes the necessity of having a startup script, less moving parts, and less files to watch. * Distribute the cannonical genesys file with packages As we are going to embed genesys data into the binary, this is the most close method to do it before the new CLI. This way, each release gets tied to it's corresponding genesys file. This establish bor repository as the source of truth for the genesys file. * Simplify flags using defaults
10 lines
273 B
Docker
10 lines
273 B
Docker
FROM alpine:3.14
|
|
|
|
RUN apk add --no-cache ca-certificates && \
|
|
mkdir -p /etc/bor
|
|
COPY bor /usr/local/bin/
|
|
COPY builder/files/genesis-mainnet-v1.json /etc/bor/
|
|
COPY builder/files/genesis-testnet-v4.json /etc/bor/
|
|
|
|
EXPOSE 8545 8546 8547 30303 30303/udp
|
|
ENTRYPOINT ["bor"]
|