mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-20 10:52:25 +00:00
15 lines
396 B
Docker
15 lines
396 B
Docker
# Build Gubiq in a stock Go builder container
|
|
FROM golang:1.11-alpine as builder
|
|
|
|
RUN apk add --no-cache make gcc musl-dev linux-headers
|
|
|
|
ADD . /go-ubiq
|
|
RUN cd /go-ubiq && 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 /go-ubiq/build/bin/* /usr/local/bin/
|
|
|
|
EXPOSE 8588 8589 30388 30388/udp
|