-
Notifications
You must be signed in to change notification settings - Fork 17
Expand file tree
/
Copy pathDockerfile.korrel8r
More file actions
38 lines (30 loc) · 1.4 KB
/
Dockerfile.korrel8r
File metadata and controls
38 lines (30 loc) · 1.4 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
FROM brew.registry.redhat.io/rh-osbs/openshift-golang-builder:rhel_9_1.25 as builder
WORKDIR /workspace
COPY korrel8r .
ENV GOFLAGS='-mod=mod'
ENV CGO_ENABLED=1
ENV GOEXPERIMENT=strictfipsruntime
RUN go build -tags strictfipsruntime,openssl ./cmd/korrel8r
FROM registry.redhat.io/ubi9/ubi-minimal:latest@sha256:c7d44146f826037f6873d99da479299b889473492d3c1ab8af86f08af04ec8a0
WORKDIR /
COPY --from=builder /workspace/korrel8r /bin/korrel8r
COPY --from=builder /workspace/etc/korrel8r /etc/korrel8r
COPY --from=builder /workspace/LICENSE /licenses/.
USER 1000
ENTRYPOINT [ "/bin/korrel8r", "web" ]
ARG VERSION=release-coo-1.4
LABEL com.redhat.component="coo-korrel8r-container" \
name="cluster-observability-operator/korrel8r-rhel9" \
cpe="cpe:/a:redhat:cluster_observability_operator:1.4::el9" \
version="${VERSION}" \
release="${VERSION}" \
vendor="Red Hat, Inc." \
distribution-scope="public" \
url="https://github.com/korrel8r/korrel8r" \
summary="Korrel8r for Cluster Observability Operator" \
io.openshift.expose-services="" \
io.openshift.tags="monitoring" \
io.k8s.display-name="COO Korrel8r" \
io.k8s.description="Korrel8r is an observability tool for correlating observable signals and resources in a kubernetes cluster" \
maintainer="team-monitoring@redhat.com" \
description="Korrel8r for Cluster Observability Operator"