mirror of
https://gitlab.com/pulsechaincom/erigon-pulse.git
synced 2024-12-22 11:41:19 +00:00
f734b7a0eb
# Conflicts: # Dockerfile # Dockerfile.alltools # build/checksums.txt
20 lines
380 B
Docker
20 lines
380 B
Docker
FROM golang:1.15-alpine as builder
|
|
|
|
RUN apk add --no-cache make gcc musl-dev linux-headers git
|
|
|
|
WORKDIR /app
|
|
|
|
# next 2 lines helping utilize docker cache
|
|
COPY go.mod go.sum ./
|
|
RUN go mod download
|
|
|
|
ADD . .
|
|
RUN make all
|
|
|
|
FROM alpine:3
|
|
|
|
RUN apk add --no-cache ca-certificates
|
|
COPY --from=builder /app/build/bin/* /usr/local/bin/
|
|
|
|
EXPOSE 8545 8546 8547 30303 30303/udp 8080 9090 6060
|