forked from openshift/cluster-olm-operator
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile
More file actions
15 lines (12 loc) · 653 Bytes
/
Dockerfile
File metadata and controls
15 lines (12 loc) · 653 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
FROM registry.ci.openshift.org/ocp/builder:rhel-9-golang-1.23-openshift-4.19 AS builder
WORKDIR /build
COPY . .
RUN make build
FROM registry.ci.openshift.org/ocp/4.19:base-rhel9
COPY --from=builder /build/bin/cluster-olm-operator /
COPY manifests /manifests
COPY vendor/github.com/openshift/api/operator/v1/zz_generated.crd-manifests/*_olms*.crd.yaml /manifests/
USER 1001
LABEL io.openshift.release.operator=true \
io.k8s.display-name="OpenShift Cluster Operator Lifecycle Manager (OLM) Operator" \
io.k8s.description="This cluster-olm-operator installs and maintains the Operator Lifecycle Manager (OLM) components of the OCP cluster."