File tree Expand file tree Collapse file tree 2 files changed +9
-9
lines changed
Expand file tree Collapse file tree 2 files changed +9
-9
lines changed Original file line number Diff line number Diff line change 1- # Build Geth in a stock Go builder container
1+ # Build Bor in a stock Go builder container
22FROM golang:1.12-alpine as builder
33
44RUN apk add --no-cache make gcc musl-dev linux-headers git
55
6- ADD . /go-ethereum
7- RUN cd /go-ethereum && make geth
6+ ADD . /bor
7+ RUN cd /bor && make bor
88
9- # Pull Geth into a second stage deploy alpine container
9+ # Pull Bor into a second stage deploy alpine container
1010FROM alpine:latest
1111
1212RUN apk add --no-cache ca-certificates
13- COPY --from=builder /go-ethereum /build/bin/geth /usr/local/bin/
13+ COPY --from=builder /bor /build/bin/bor /usr/local/bin/
1414
1515EXPOSE 8545 8546 30303 30303/udp
Original file line number Diff line number Diff line change 1- # Build Geth in a stock Go builder container
1+ # Build Bor in a stock Go builder container
22FROM golang:1.12-alpine as builder
33
44RUN apk add --no-cache make gcc musl-dev linux-headers git
55
6- ADD . /go-ethereum
7- RUN cd /go-ethereum && make all
6+ ADD . /bor
7+ RUN cd /bor && make all
88
99# Pull all binaries into a second stage deploy alpine container
1010FROM alpine:latest
1111
1212RUN apk add --no-cache ca-certificates
13- COPY --from=builder /go-ethereum /build/bin/* /usr/local/bin/
13+ COPY --from=builder /bor /build/bin/* /usr/local/bin/
1414
1515EXPOSE 8545 8546 30303 30303/udp
You can’t perform that action at this time.
0 commit comments