Skip to content

Commit b008a14

Browse files
author
Triona Doyle
committed
hardcode kustomize download to bypass github api rate limits
Signed-off-by: Triona Doyle <tekton@example.com>
1 parent 949f348 commit b008a14

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

openshift-ci/build-root/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ FROM quay.io/devtools_gitops/go-toolset:1.26.2
44
USER root
55

66
ARG OPERATOR_SDK_VERSION=1.35.0
7+
ARG KUSTOMIZE_VERSION=v5.8.1
78

89
# Install kubectl tool which is used in e2e-tests
910
RUN curl -sSL -o /usr/local/bin/kubectl "https://dl.k8s.io/release/$(curl -L -s https://dl.k8s.io/release/stable.txt)/bin/linux/amd64/kubectl" && \
@@ -14,8 +15,7 @@ RUN curl -sSL -o /usr/local/bin/argocd https://github.com/argoproj/argo-cd/relea
1415
chmod +x /usr/local/bin/argocd
1516

1617
# Install Kustomize
17-
RUN wget https://raw.githubusercontent.com/kubernetes-sigs/kustomize/master/hack/install_kustomize.sh && \
18-
bash install_kustomize.sh /usr/local/bin && rm install_kustomize.sh
18+
RUN curl -sSL https://github.com/kubernetes-sigs/kustomize/releases/download/kustomize%2F${KUSTOMIZE_VERSION}/kustomize_${KUSTOMIZE_VERSION}_linux_amd64.tar.gz | tar -xz -C /usr/local/bin
1919

2020
# Install operator-sdk
2121
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 && \

0 commit comments

Comments
 (0)