-
Notifications
You must be signed in to change notification settings - Fork 9
Expand file tree
/
Copy pathbundle.Dockerfile
More file actions
52 lines (43 loc) · 2.85 KB
/
bundle.Dockerfile
File metadata and controls
52 lines (43 loc) · 2.85 KB
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
42
43
44
45
46
47
48
49
50
51
52
FROM brew.registry.redhat.io/rh-osbs/openshift-golang-builder:rhel_9_1.25 as builder
WORKDIR /go/src/github.com/openshift/jobset-operator
COPY . .
ARG OPERAND_IMAGE=registry.redhat.io/job-set/jobset-rhel9@sha256:529de45ec539ca26bdfd16ba856e82f06246a55626b67d6dc27ec7d168181d99
ARG REPLACED_OPERAND_IMG=\${OPERAND_IMAGE}
# Replace the operand image in deploy/05_deployment.yaml with the one specified by the OPERAND_IMAGE build argument.
RUN hack/replace-image.sh deploy $REPLACED_OPERAND_IMG $OPERAND_IMAGE
RUN hack/replace-image.sh manifests $REPLACED_OPERAND_IMG $OPERAND_IMAGE
ARG OPERATOR_IMAGE=registry.redhat.io/job-set/jobset-rhel9-operator@sha256:f98f5cc1d8a2b038f21984411d8aca26c8bef3bd7bd8d6ae4f33dbee8b992f63
ARG REPLACED_OPERATOR_IMG=\${OPERATOR_IMAGE}
# Replace the operand image in deploy/05_deployment.yaml with the one specified by the OPERATOR_IMAGE build argument.
RUN hack/replace-image.sh deploy $REPLACED_OPERATOR_IMG $OPERATOR_IMAGE
RUN hack/replace-image.sh manifests $REPLACED_OPERATOR_IMG $OPERATOR_IMAGE
RUN mkdir licenses
COPY LICENSE licenses/.
FROM registry.access.redhat.com/ubi9/ubi-minimal:latest@sha256:fe688da81a696387ca53a4c19231e99289591f990c904ef913c51b6e87d4e4df
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=job-set
LABEL operators.operatorframework.io.bundle.channels.v1=stable
LABEL operators.operatorframework.io.bundle.channel.default.v1=stable
LABEL operators.operatorframework.io.metrics.builder=operator-sdk-v1.34.2
LABEL operators.operatorframework.io.metrics.mediatype.v1=metrics+v1
COPY --from=builder /go/src/github.com/openshift/jobset-operator/manifests /manifests
COPY --from=builder /go/src/github.com/openshift/jobset-operator/metadata /metadata
COPY --from=builder /go/src/github.com/openshift/jobset-operator/licenses /licenses
LABEL com.redhat.component="Job Set Operator"
LABEL description="JobSet is a Kubernetes-native API for managing a group of k8s Jobs as a unit. It aims to offer a unified API for deploying HPC (e.g., MPI) and AI/ML training workloads (PyTorch, Jax, Tensorflow etc.) on Kubernetes."
LABEL distribution-scope="public"
LABEL name="job-set/jobset-operator-bundle"
LABEL cpe="cpe:/a:redhat:job_set:1.0::el9"
LABEL release="1.0.0"
LABEL version="1.0.0"
LABEL url="https://github.com/openshift/jobset-operator"
LABEL vendor="Red Hat, Inc."
LABEL summary="JobSet is a Kubernetes-native API for managing a group of k8s Jobs as a unit."
LABEL io.k8s.display-name="Job Set" \
io.k8s.description="This is an operator to manage Job Set" \
io.openshift.tags="openshift,jobset-operator" \
com.redhat.delivery.appregistry=true \
maintainer="AOS workloads team, <aos-workloads-staff@redhat.com>"
USER 1001