mirror of
https://gitlab.com/pulsechaincom/prysm-pulse.git
synced 2024-12-28 14:17:17 +00:00
eb70fc73cd
Former-commit-id: 25dc367490dd16ef4fa1d462118aa438df1b319a [formerly 6fab78aeb8b9f54fddbad1406f97392b753a830a] Former-commit-id: 0de0bb3ef9af1735ac8ecd1aefe2d57c0f76c62d
17 lines
433 B
Docker
17 lines
433 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 30304/udp
|
|
ENTRYPOINT ["geth"]
|