github.com/elastos/Elastos.ELA.SideChain.ETH@v0.2.2/Dockerfile.alltools (about)

     1  # Build Geth in a stock Go builder container
     2  FROM golang:1.13-alpine as builder
     3  
     4  RUN apk add --no-cache make gcc musl-dev linux-headers git
     5  
     6  ADD . /Elastos.ELA.SideChain.ESC
     7  RUN cd /Elastos.ELA.SideChain.ESC && 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 /Elastos.ELA.SideChain.ESC/build/bin/* /usr/local/bin/
    14  
    15  EXPOSE 20636 20635 8547 20638 20638/udp