-
Notifications
You must be signed in to change notification settings - Fork 110
Expand file tree
/
Copy pathDockerfile
More file actions
15 lines (14 loc) · 916 Bytes
/
Dockerfile
File metadata and controls
15 lines (14 loc) · 916 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.25-openshift-4.22 AS builder
WORKDIR /go/src/github.com/openshift/cluster-storage-operator
COPY . .
RUN make && \
gzip /go/src/github.com/openshift/cluster-storage-operator/cluster-storage-operator-tests-ext
FROM registry.ci.openshift.org/ocp/4.22:base-rhel9
COPY --from=builder /go/src/github.com/openshift/cluster-storage-operator/cluster-storage-operator /usr/bin/
COPY --from=builder /go/src/github.com/openshift/cluster-storage-operator/cluster-storage-operator-tests-ext.gz /usr/bin/
COPY manifests /manifests
ENTRYPOINT ["/usr/bin/cluster-storage-operator"]
LABEL io.openshift.release.operator true
LABEL io.k8s.display-name="OpenShift Cluster Storage Operator" \
io.k8s.description="The cluster-storage-operator installs and maintains the storage components of OCP cluster." \
io.openshift.tags="openshift,tests,e2e,e2e-extension"