go-ethereum/Dockerfile.alltools
Arpit Agarwal c2ca66adad
Upgrade geth to v1.9.14 (#75)
* fix: resolve conflict

* chg: use bor url for import

* Fix regressions from merge

Co-authored-by: Jaynti Kanani <jdkanani@gmail.com>
2020-06-08 09:46:36 +05:30

15 lines
392 B
Docker

# Build Geth in a stock Go builder container
FROM golang:1.14-alpine as builder
RUN apk add --no-cache make gcc musl-dev linux-headers git
ADD . /bor
RUN cd /bor && make all
# Pull all binaries into a second stage deploy alpine container
FROM alpine:latest
RUN apk add --no-cache ca-certificates
COPY --from=builder /bor/build/bin/* /usr/local/bin/
EXPOSE 8545 8546 8547 30303 30303/udp