Install dependencies when building docker image.
This commit is contained in:
parent
306c90205c
commit
f8fa6bc707
@ -9,6 +9,7 @@ ARG CI_COMMIT_REF_NAME
|
|||||||
ARG CI_COMMIT_TAG
|
ARG CI_COMMIT_TAG
|
||||||
|
|
||||||
ENV CGO_ENABLED=0
|
ENV CGO_ENABLED=0
|
||||||
|
RUN apk install git make
|
||||||
RUN make metricatord-build
|
RUN make metricatord-build
|
||||||
|
|
||||||
FROM registry.gitlab.pztrn.name/containers/mirror/golang:1.15.5-alpine
|
FROM registry.gitlab.pztrn.name/containers/mirror/golang:1.15.5-alpine
|
||||||
|
Loading…
Reference in New Issue
Block a user