github.com/shrimpyuk/bor@v0.2.15-0.20220224151350-fb4ec6020bae/Dockerfile.classic (about) 1 # Build Geth in a stock Go builder container 2 FROM golang:1.17-alpine as builder 3 4 RUN apk add --no-cache make gcc musl-dev linux-headers git bash 5 6 ADD . /bor 7 RUN cd /bor && make bor-all 8 9 CMD ["/bin/bash"] 10 11 # Pull Bor into a second stage deploy alpine container 12 FROM alpine:latest 13 14 RUN apk add --no-cache ca-certificates 15 COPY --from=builder /bor/build/bin/bor /usr/local/bin/ 16 COPY --from=builder /bor/build/bin/bootnode /usr/local/bin/ 17 18 EXPOSE 8545 8546 8547 30303 30303/udp