github.com/Ethersocial/go-esn@v0.3.7/Dockerfile (about)

     1  # Build Geth in a stock Go builder container
     2  FROM golang:1.11-alpine as builder
     3  
     4  RUN apk add --no-cache make gcc musl-dev linux-headers
     5  
     6  ADD . /go-esn
     7  RUN cd /go-esn && make gesn
     8  
     9  # Pull Geth 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-esn/build/bin/gesn /usr/local/bin/
    14  
    15  EXPOSE 9545 9546 50505 50505/udp
    16  ENTRYPOINT ["gesn"]