-
Notifications
You must be signed in to change notification settings - Fork 48
Expand file tree
/
Copy pathbundle.Dockerfile.downstream
More file actions
49 lines (41 loc) · 2.05 KB
/
bundle.Dockerfile.downstream
File metadata and controls
49 lines (41 loc) · 2.05 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
39
40
41
42
43
44
45
46
47
48
49
ARG BUILDVERSION
ARG BUILDVERSION_Y
FROM registry.access.redhat.com/ubi9/python-312 as builder
ARG BUILDVERSION
COPY --chown=default . .
RUN pip install -r requirements.txt
RUN ./hack/update-build.sh
FROM scratch
ARG BUILDVERSION
ARG BUILDVERSION_Y
# Core bundle labels.
LABEL operators.operatorframework.io.bundle.mediatype.v1=registry+v1
LABEL operators.operatorframework.io.bundle.manifests.v1=manifests/
LABEL operators.operatorframework.io.bundle.metadata.v1=metadata/
LABEL operators.operatorframework.io.bundle.package.v1=netobserv-operator
LABEL operators.operatorframework.io.bundle.channels.v1=stable,v1.0.x
LABEL operators.operatorframework.io.bundle.channel.default.v1=stable
LABEL operators.operatorframework.io.metrics.builder=operator-sdk-v1.40.0
LABEL operators.operatorframework.io.metrics.mediatype.v1=metrics+v1
LABEL operators.operatorframework.io.metrics.project_layout=go.kubebuilder.io/v4
# Labels for testing.
LABEL operators.operatorframework.io.test.mediatype.v1=scorecard+v1
LABEL operators.operatorframework.io.test.config.v1=tests/scorecard/
# Copy files to locations specified by labels.
COPY --from=builder /opt/app-root/src/bundle/manifests /manifests/
COPY --from=builder /opt/app-root/src/bundle/metadata /metadata/
COPY --from=builder /opt/app-root/src/bundle/tests/scorecard /tests/scorecard/
LABEL com.redhat.component="network-observability-operator-bundle-container"
LABEL cpe="cpe:/a:redhat:network_observ_optr:$BUILDVERSION_Y::el9"
LABEL name="network-observability/network-observability-operator-bundle"
LABEL io.k8s.display-name="Network Observability Operator Bundle"
LABEL io.k8s.description="Network Observability Operator Bundle"
LABEL summary="Network Observability Operator Bundle"
LABEL maintainer="[email protected]"
LABEL io.openshift.tags="network-observability-operator-bundle"
LABEL description="Network Observability operator for OpenShift."
LABEL distribution-scope=public
LABEL release=$BUILDVERSION
LABEL version=$BUILDVERSION
LABEL url="https://github.com/netobserv/network-observability-operator"
LABEL vendor="Red Hat, Inc."