From 5b2e1107b962a3b50a65589d86d1c69c5cd6c3b9 Mon Sep 17 00:00:00 2001 From: yiraeChristineKim Date: Wed, 27 May 2026 10:04:04 -0400 Subject: [PATCH] build(operator): drop hypershift-no-cgo from operator container images Remove the hypershift-no-cgo statically compiled binary and the hcp product CLI from Containerfile.operator, as these are only required in the Konflux build pipeline and not in the operator image itself. Non-Konflux Dockerfiles (Dockerfile, Dockerfile.dev) are unchanged and continue to include hypershift-no-cgo and hcp. Signed-off-by: yiraeChristineKim Commit-Message-Assisted-by: Claude (via Claude Code) Co-authored-by: Cursor --- Containerfile.operator | 4 ---- 1 file changed, 4 deletions(-) diff --git a/Containerfile.operator b/Containerfile.operator index 27187d108e4d..aee4d137d227 100644 --- a/Containerfile.operator +++ b/Containerfile.operator @@ -6,15 +6,11 @@ WORKDIR /hypershift COPY --chown=default . . RUN make hypershift \ - && make hypershift-no-cgo \ && make hypershift-operator \ - && make product-cli \ && make karpenter-operator FROM registry.access.redhat.com/ubi9/ubi-minimal:9.7-1777857961 COPY --from=builder /hypershift/bin/hypershift \ - /hypershift/bin/hypershift-no-cgo \ - /hypershift/bin/hcp \ /hypershift/bin/hypershift-operator \ /hypershift/bin/karpenter-operator \ /usr/bin/