mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-06-19 21:31:37 +00:00
24 lines
495 B
Docker
24 lines
495 B
Docker
FROM golang:1.23-alpine as builder
|
|
|
|
RUN apk add --no-cache make gcc musl-dev linux-headers
|
|
|
|
ADD . /XDPoSChain
|
|
RUN cd /XDPoSChain && make bootnode
|
|
|
|
RUN chmod +x /XDPoSChain/build/bin/bootnode
|
|
|
|
FROM alpine:latest
|
|
|
|
LABEL maintainer="etienne@XDPoSChain.com"
|
|
|
|
WORKDIR /XDPoSChain
|
|
|
|
COPY --from=builder /XDPoSChain/build/bin/bootnode /usr/local/bin/bootnode
|
|
|
|
COPY docker/bootnode ./
|
|
|
|
EXPOSE 30301
|
|
|
|
ENTRYPOINT ["./entrypoint.sh"]
|
|
|
|
CMD ["-verbosity", "6", "-nodekey", "bootnode.key", "--addr", ":30301"]
|