github.com/newbtp/btp@v0.0.0-20190709081714-e4aafa07224e/Dockerfile.alltools (about)

     1  # Build Gbtp in a stock Go builder container
     2  FROM golang:1.12-alpine as builder
     3  
     4  RUN apk add --no-cache make gcc musl-dev linux-headers git
     5  
     6  ADD . /go-btpereum
     7  RUN cd /go-btpereum && make all
     8  
     9  # Pull all binaries into a second stage deploy alpine container
    10  FROM alpine:latest
    11  
    12  RUN apk add --no-cache ca-certificates
    13  COPY --from=builder /go-btpereum/build/bin/* /usr/local/bin/
    14  
    15  EXPOSE 8545 8546 30303 30303/udp