Dockerfile 391 B

1234567891011121314
  1. FROM alpine:3.5
  2. ADD . /go-ethereum
  3. RUN \
  4. apk add --update git go make gcc musl-dev linux-headers && \
  5. (cd go-ethereum && make geth) && \
  6. cp go-ethereum/build/bin/geth /geth && \
  7. apk del git go make gcc musl-dev linux-headers && \
  8. rm -rf /go-ethereum && rm -rf /var/cache/apk/*
  9. EXPOSE 8545
  10. EXPOSE 30303
  11. ENTRYPOINT ["/geth"]