mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-27 07:06:42 +00:00
Merge pull request #143 from maticnetwork/arpit/bor-docker
docker file add bootnode
This commit is contained in:
commit
5b11bb3c0a
1 changed files with 2 additions and 1 deletions
|
|
@ -4,12 +4,13 @@ FROM golang:1.16-alpine as builder
|
|||
RUN apk add --no-cache make gcc musl-dev linux-headers git
|
||||
|
||||
ADD . /bor
|
||||
RUN cd /bor && make bor
|
||||
RUN cd /bor && make bor-all
|
||||
|
||||
# Pull Bor into a second stage deploy alpine container
|
||||
FROM alpine:latest
|
||||
|
||||
RUN apk add --no-cache ca-certificates
|
||||
COPY --from=builder /bor/build/bin/bor /usr/local/bin/
|
||||
COPY --from=builder /bor/build/bin/bootnode /usr/local/bin/
|
||||
|
||||
EXPOSE 8545 8546 8547 30303 30303/udp
|
||||
|
|
|
|||
Loading…
Reference in a new issue