From 871103c187c28101e3cfd138ae49f4dc2ddf4b2b Mon Sep 17 00:00:00 2001 From: Shruti Anekar Date: Mon, 10 Aug 2026 16:45:29 +0530 Subject: [PATCH] Add Containerfile.art, image-references and art.yaml for ART builds Co-Authored-By: Claude Opus 4.6 (1M context) --- Containerfile.art | 27 +++++++++++++++++++++++++++ bundle/art.yaml | 2 ++ bundle/image-references | 9 +++++++++ 3 files changed, 38 insertions(+) create mode 100644 Containerfile.art create mode 100644 bundle/art.yaml create mode 100644 bundle/image-references diff --git a/Containerfile.art b/Containerfile.art new file mode 100644 index 0000000..390edb3 --- /dev/null +++ b/Containerfile.art @@ -0,0 +1,27 @@ +FROM registry.redhat.io/ubi9/go-toolset:1.25 AS builder + +USER 0 + +WORKDIR /workspace +COPY . container-security-operator/ + +WORKDIR /workspace/container-security-operator +RUN go mod download + +RUN CGO_ENABLED=1 make build + +FROM registry.redhat.io/ubi9/ubi-minimal:latest + +LABEL com.redhat.component="container-security-operator-container" +LABEL name="quay/quay-container-security-operator-rhel9" +LABEL io.k8s.display-name="Red Hat Quay Container Security Operator" +LABEL io.k8s.description="Red Hat Quay Container Security Operator image" +LABEL io.openshift.tags="quay,security" +LABEL summary="Red Hat Quay Container Security Operator" +LABEL description="Red Hat Quay Container Security Operator" +LABEL vendor="Red Hat, Inc." +LABEL maintainer="quay-devel@redhat.com" + +WORKDIR / +COPY --from=builder /workspace/container-security-operator/bin/security-labeller /bin/security-labeller +ENTRYPOINT ["/bin/security-labeller"] diff --git a/bundle/art.yaml b/bundle/art.yaml new file mode 100644 index 0000000..ee9dc11 --- /dev/null +++ b/bundle/art.yaml @@ -0,0 +1,2 @@ +--- +updates: [] diff --git a/bundle/image-references b/bundle/image-references new file mode 100644 index 0000000..8ecd0dc --- /dev/null +++ b/bundle/image-references @@ -0,0 +1,9 @@ +--- +kind: ImageStream +apiVersion: image.openshift.io/v1 +spec: + tags: + - name: quay-container-security-operator-rhel9 + from: + kind: DockerImage + name: quay.io/projectquay/container-security-operator:latest