Add metricator-client to docker image.

This commit is contained in:
Stanislav Nikitin 2020-12-24 23:17:38 +05:00
parent cdbb3b7089
commit 25d8b2776c
Signed by: pztrn
GPG Key ID: 1E944A0F0568B550

View File

@ -11,11 +11,13 @@ ARG CI_COMMIT_TAG
ENV CGO_ENABLED=0
RUN apk add bash git make
RUN make metricatord-build
RUN make metricator-client-build
FROM registry.gitlab.pztrn.name/containers/mirror/golang:1.15.5-alpine
LABEL maintainer="Stanislav N. <pztrn@pztrn.name>"
COPY --from=build /go/src/gitlab.pztrn.name/pztrn/metricator/._bin/metricatord /usr/local/bin/metricatord
COPY --from=build /go/src/gitlab.pztrn.name/pztrn/metricator/._bin/metricator-client /usr/local/bin/metricator-client
RUN apk add tzdata