github.com/FUSIONFoundation/efsn@v3.6.2-0.20200916075423-dbb5dd5d2cc7+incompatible/Dockerfile.alltools (about)

     1  # Build Geth in a stock Go builder container
     2  FROM golang:1.10-alpine as builder
     3  
     4  RUN apk add --no-cache make gcc musl-dev linux-headers
     5  
     6  ADD . /efsn
     7  RUN cd /efsn && 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 /efsn/build/bin/* /usr/local/bin/
    14  
    15  EXPOSE 8545 8546 40404 40404/udp