-
Notifications
You must be signed in to change notification settings - Fork 107
/
Copy pathDockerfile
20 lines (18 loc) · 964 Bytes
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
FROM registry.ci.openshift.org/ocp/builder:rhel-9-golang-1.23-openshift-4.19
ENV GOFLAGS="-mod=vendor"
COPY . /go/src/github.com/openshift/telemeter
RUN cd /go/src/github.com/openshift/telemeter && \
go build ./cmd/telemeter-client && \
go build ./cmd/telemeter-server && \
go build ./cmd/rhelemeter-server && \
go build ./cmd/authorization-server
FROM registry.ci.openshift.org/ocp/4.19:base-rhel9
LABEL io.k8s.display-name="OpenShift Telemeter" \
io.k8s.description="" \
io.openshift.tags="openshift,monitoring" \
summary="" \
maintainer="OpenShift Monitoring Team <team-monitoring@redhat.com>"
COPY --from=0 /go/src/github.com/openshift/telemeter/telemeter-client /usr/bin/
COPY --from=0 /go/src/github.com/openshift/telemeter/telemeter-server /usr/bin/
COPY --from=0 /go/src/github.com/openshift/telemeter/rhelemeter-server /usr/bin/
COPY --from=0 /go/src/github.com/openshift/telemeter/authorization-server /usr/bin/