-
Notifications
You must be signed in to change notification settings - Fork 69
/
Copy pathContainerfile.bundle
40 lines (34 loc) · 2.01 KB
/
Containerfile.bundle
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
FROM brew.registry.redhat.io/rh-osbs/openshift-golang-builder:rhel_9_1.23 as image-replacer
COPY bundle/manifests /manifests
RUN sed -i "s|REPLACE_IMAGE|registry.stage.redhat.io/openshift4-wincw/windows-machine-config-rhel9-operator@sha256:922e97a44ae3ecf248b63bb67c3d82d1fc57fe9a6af881d6840a44619e0210c7|g" /manifests/windows-machine-config-operator.clusterserviceversion.yaml
FROM scratch
# This block contains standard Red Hat container labels
LABEL name="openshift4-wincw/windows-machine-config-operator-bundle" \
License="ASL 2.0" \
io.k8s.display-name="Windows Machine Config Operator bundle" \
io.k8s.description="Windows Machine Config Operator's OLM bundle image" \
description="Windows Machine Config Operator's OLM bundle image" \
summary="Windows Machine Config Operator's OLM bundle image" \
maintainer="Team Windows Containers <[email protected]>" \
io.openshift.tags=""
# Used to tag the released image. Should be a semver.
LABEL version="v10.19.0"
# Component to file bugs against
LABEL com.redhat.component="Windows Containers"
# 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=windows-machine-config-operator
LABEL operators.operatorframework.io.bundle.channels.v1=preview,stable
LABEL operators.operatorframework.io.bundle.channel.default.v1=stable
LABEL operators.operatorframework.io.metrics.builder=operator-sdk-v1.32.0
LABEL operators.operatorframework.io.metrics.mediatype.v1=metrics+v1
LABEL operators.operatorframework.io.metrics.project_layout=go.kubebuilder.io/v3
LABEL distribution-scope=public
LABEL release="10.19.0"
LABEL url="https://docs.openshift.com/container-platform/4.19/windows_containers/index.html"
LABEL vendor="Red Hat, Inc."
# Copy files to locations specified by labels.
COPY --from=image-replacer /manifests /manifests/
COPY bundle/metadata /metadata/