From c9076fd84916971939b4fb19135a5807aba5018d Mon Sep 17 00:00:00 2001 From: Varsha B Date: Wed, 3 Jun 2026 23:50:18 +0530 Subject: [PATCH] pin kustomize version in dockerfile Signed-off-by: Varsha B --- openshift-ci/build-root/Dockerfile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/openshift-ci/build-root/Dockerfile b/openshift-ci/build-root/Dockerfile index bdc1d89b03b..247e2905596 100644 --- a/openshift-ci/build-root/Dockerfile +++ b/openshift-ci/build-root/Dockerfile @@ -3,6 +3,7 @@ FROM quay.io/devtools_gitops/go-toolset:1.25.5 USER root +ARG KUSTOMIZE_VERSION=5.7.0 ARG OPERATOR_SDK_VERSION=1.35.0 # Install kubectl tool which is used in e2e-tests @@ -14,8 +15,9 @@ RUN curl -sSL -o /usr/local/bin/argocd https://github.com/argoproj/argo-cd/relea chmod +x /usr/local/bin/argocd # Install Kustomize -RUN wget https://raw.githubusercontent.com/kubernetes-sigs/kustomize/master/hack/install_kustomize.sh && \ - bash install_kustomize.sh /usr/local/bin && rm install_kustomize.sh +RUN wget -q https://raw.githubusercontent.com/kubernetes-sigs/kustomize/master/hack/install_kustomize.sh && \ + bash install_kustomize.sh "${KUSTOMIZE_VERSION}" /usr/local/bin && \ + rm install_kustomize.sh # Install operator-sdk RUN curl -L -o /usr/local/bin/operator-sdk https://github.com/operator-framework/operator-sdk/releases/download/v${OPERATOR_SDK_VERSION}/operator-sdk_linux_amd64 && \