-
Notifications
You must be signed in to change notification settings - Fork 27
/
Copy pathbundle.openshift.Dockerfile
41 lines (30 loc) · 1.51 KB
/
bundle.openshift.Dockerfile
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
41
FROM brew.registry.redhat.io/rh-osbs/openshift-golang-builder:v1.22 as builder
COPY . .
WORKDIR bundle-hack
ARG FIO_VERSION="1.3.5-dev"
RUN go run ./update_csv.go ../bundle/manifests ${FIO_VERSION}
RUN ./update_bundle_annotations.sh
FROM scratch
LABEL name=openshift-file-integrity-operator-bundle
LABEL version=${FIO_VERSION}
LABEL summary='OpenShift File Integrity Operator'
LABEL maintainer='Infrastructure Security and Compliance Team <[email protected]>'
LABEL io.k8s.display-name='File Integrity Operator'
LABEL io.k8s.description='File Integrity Operator'
LABEL com.redhat.component=openshift-file-integrity-operator-bundle-container
LABEL com.redhat.delivery.appregistry=false
LABEL com.redhat.delivery.operator.bundle=true
LABEL com.redhat.openshift.versions="v4.10"
LABEL io.openshift.maintainer.product='OpenShift Container Platform'
LABEL io.openshift.tags=openshift,security,compliance,integrity
LABEL operators.operatorframework.io.bundle.channel.default.v1=stable
LABEL operators.operatorframework.io.bundle.channels.v1=stable
LABEL operators.operatorframework.io.bundle.manifests.v1=manifests/
LABEL operators.operatorframework.io.bundle.mediatype.v1=registry+v1
LABEL operators.operatorframework.io.bundle.metadata.v1=metadata/
LABEL operators.operatorframework.io.bundle.package.v1=file-integrity-operator
LABEL License=GPLv2+
# Copy files to locations specified by labels.
COPY --from=builder bundle/manifests /manifests/
COPY --from=builder bundle/metadata /metadata/
COPY bundle/tests/scorecard /tests/scorecard