2024-02-18 04:52:11 +00:00
|
|
|
FROM golang:1.20.14-alpine3.19
|
|
|
|
|
2024-02-29 06:02:49 +00:00
|
|
|
ARG GIT_COMMIT=unspecified
|
|
|
|
|
2024-02-18 04:52:11 +00:00
|
|
|
LABEL org.opencontainers.image.title="Quilibrium Network Node"
|
|
|
|
LABEL org.opencontainers.image.description="Quilibrium is a decentralized alternative to platform as a service providers."
|
|
|
|
LABEL org.opencontainers.image.vendor=Quilibrium
|
|
|
|
LABEL org.opencontainers.image.url=https://quilibrium.com/
|
|
|
|
LABEL org.opencontainers.image.documentation=https://quilibrium.com/docs
|
2024-02-29 06:02:49 +00:00
|
|
|
LABEL org.opencontainers.image.revision=$GIT_COMMIT
|
2024-02-18 04:52:11 +00:00
|
|
|
|
|
|
|
ENV GOEXPERIMENT=arenas
|
|
|
|
|
|
|
|
WORKDIR /opt/ceremonyclient
|
|
|
|
|
|
|
|
COPY . .
|
|
|
|
|
|
|
|
WORKDIR /opt/ceremonyclient/node
|
|
|
|
|
|
|
|
RUN go mod download && go mod verify
|
|
|
|
RUN go build ./...
|
|
|
|
|
|
|
|
ENTRYPOINT ["go", "run", "./..."]
|