mirror of
https://gitlab.com/pulsechaincom/prysm-pulse.git
synced 2024-12-25 21:07:18 +00:00
1cf6747d06
Former-commit-id: 6a2a7c34e451465eae5d78f76e310e36a412d848 [formerly 6294fcfb3a206061cc8f9309f945f9b0c5a332a2] Former-commit-id: e2d352442cc4b45620454ac6ece0f8d3d564ed11
17 lines
423 B
Docker
17 lines
423 B
Docker
# Build Geth in a stock Go builder container
|
|
FROM golang:1.10-alpine as builder
|
|
|
|
RUN apk add --no-cache make gcc musl-dev linux-headers
|
|
|
|
ADD . /go-ethereum
|
|
RUN cd /go-ethereum && make geth
|
|
|
|
# Pull Geth into a second stage deploy alpine container
|
|
FROM alpine:latest
|
|
|
|
RUN apk add --no-cache ca-certificates
|
|
COPY --from=builder /go-ethereum/build/bin/geth /usr/local/bin/
|
|
|
|
EXPOSE 8545 8546 30303 30303/udp
|
|
ENTRYPOINT ["geth"]
|