forked from openshift/cluster-image-registry-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) · 671 Bytes
/
Dockerfile
File metadata and controls
15 lines (12 loc) · 671 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
FROM registry.ci.openshift.org/ocp/builder:rhel-8-golang-1.20-openshift-4.14 AS builder
WORKDIR /go/src/github.com/openshift/cluster-image-registry-operator
COPY . .
RUN make build
FROM registry.ci.openshift.org/ocp/4.14:base
COPY images/bin/entrypoint.sh /usr/bin/
COPY manifests/image-references manifests/0* /manifests/
COPY vendor/github.com/openshift/api/imageregistry/v1/*.crd.yaml /manifests/
COPY --from=builder /go/src/github.com/openshift/cluster-image-registry-operator/tmp/_output/bin/cluster-image-registry-operator /usr/bin/
RUN chmod -R g+w /etc/pki/ca-trust/extracted/pem/
ENTRYPOINT ["/usr/bin/entrypoint.sh"]
LABEL io.openshift.release.operator true