github.com/palisadeinc/bor@v0.0.0-20230615125219-ab7196213d15/Dockerfile.alltools (about) 1 # Build Geth in a stock Go builder container 2 FROM golang:1.18.1-alpine as builder 3 4 RUN apk add --no-cache make gcc musl-dev linux-headers git 5 6 ADD . /bor 7 RUN cd /bor && make bor-all 8 9 # Pull all binaries into a second stage deploy alpine container 10 FROM alpine:latest 11 12 RUN set -x \ 13 && apk add --update --no-cache \ 14 ca-certificates \ 15 && rm -rf /var/cache/apk/* 16 COPY --from=builder /bor/build/bin/* /usr/bin/ 17 18 EXPOSE 8545 8546 30303 30303/udp