Files
open-cluster-management/vendor/github.com/openshift/api/Dockerfile.rhel8
Jian Qiu 01521e3e1e Bump to kube-0.29.0 (#348)
Signed-off-by: Jian Qiu <jqiu@redhat.com>
2024-01-18 08:14:32 +00:00

23 lines
903 B
Docker

FROM registry.ci.openshift.org/ocp/builder:rhel-9-golang-1.20-openshift-4.16 AS builder
WORKDIR /go/src/github.com/openshift/api
COPY . .
ENV GO_PACKAGE github.com/openshift/api
RUN make build --warn-undefined-variables
FROM registry.ci.openshift.org/ocp/4.16:base-rhel9
# copy the built binaries to /usr/bin
COPY --from=builder /go/src/github.com/openshift/api/render /usr/bin/
COPY --from=builder /go/src/github.com/openshift/api/write-available-featuresets /usr/bin/
# this directory is used to produce rendered manifests that the installer applies (but does not maintain) in bootkube
RUN mkdir -p /usr/share/bootkube/manifests/manifests
COPY payload-manifests/crds/* /usr/share/bootkube/manifests/manifests
# these are applied by the CVO
COPY manifests /manifests
COPY payload-manifests/crds/* /manifests
COPY payload-command/empty-resources /manifests
LABEL io.openshift.release.operator true