Dockerfile.alltools 407 B

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