code.vegaprotocol.io/vega@v0.79.0/docker/data-node.dockerfile (about) 1 FROM golang:1.21.5-alpine3.18 AS builder 2 RUN apk add --no-cache git 3 ENV CGO_ENABLED=0 4 WORKDIR /src 5 ADD . . 6 RUN go build -o /build/data-node ./cmd/data-node 7 8 FROM alpine:3.16 9 # Needed by libxml, which is needed by postgres 10 RUN apk add --no-cache xz-libs bash ca-certificates jq 11 ENTRYPOINT ["data-node"] 12 COPY --from=builder /build/data-node /usr/local/bin/