From 5e999380705e1af0fa27b7b70e731e8fc8cee467 Mon Sep 17 00:00:00 2001 From: Vincent Demeester Date: Wed, 11 Dec 2024 07:44:35 +0100 Subject: [PATCH] .konflux: delete unused index/Dockerfile Signed-off-by: Vincent Demeester --- .konflux/olm-catalog/index/Dockerfile | 30 --------------------------- 1 file changed, 30 deletions(-) delete mode 100644 .konflux/olm-catalog/index/Dockerfile diff --git a/.konflux/olm-catalog/index/Dockerfile b/.konflux/olm-catalog/index/Dockerfile deleted file mode 100644 index f509b197c..000000000 --- a/.konflux/olm-catalog/index/Dockerfile +++ /dev/null @@ -1,30 +0,0 @@ -FROM registry.redhat.io/openshift4/ose-operator-registry:v4.13 AS opm -FROM registry.access.redhat.com/ubi9/ubi-minimal AS builder - -COPY --from=opm /bin/opm /bin/opm - -# Copy declarative config root into image at /configs -COPY .konflux/olm-catalog/index/configs /configs - -# RUN /bin/opm init openshift-pipelines-operator --default-channel=latest --output yaml >> /configs/index.yaml -RUN /bin/opm render --skip-tls-verify -o yaml quay.io/redhat-user-workloads/tekton-ecosystem-tenant/operator-main/bundle@sha256:798a3c4b646775d4dc22bc10f9040eb9e88acd87015d543bdc028b3ee99ae6f8 > /configs/nightly-bundle.yaml -RUN export BUNDLE_VERSION=$(cat /configs/nightly-bundle.yaml | grep 'name: openshift-pipelines-operator-rh' | awk '{print $2}') && \ - echo $BUNDLE_VERSION && \ - sed -i "s%name: \"openshift-pipelines-operator-rh.*\"%name: \"${BUNDLE_VERSION}\"%g" /configs/index.yaml && \ - cat /configs/index.yaml -RUN /bin/opm validate configs - -# The base image is expected to contain -# /bin/opm (with a serve subcommand) and /bin/grpc_health_probe -FROM registry.redhat.io/openshift4/ose-operator-registry:latest - -# Copy declarative config root into image at /configs -COPY --from=builder /configs /configs - -# Set DC-specific label for the location of the DC root directory -# in the image -LABEL operators.operatorframework.io.index.configs.v1=/configs - -# Configure the entrypoint and command -ENTRYPOINT ["/bin/opm"] -CMD ["serve", "/configs"]