From 5e1e39d123c14492d5c1e89e4168709f09c7e265 Mon Sep 17 00:00:00 2001 From: Maciej Lebiest Date: Fri, 23 Feb 2024 09:32:55 +0100 Subject: [PATCH] change helm install method to script --- cloud-toolbox/Containerfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/cloud-toolbox/Containerfile b/cloud-toolbox/Containerfile index 3a90db8..85feddc 100644 --- a/cloud-toolbox/Containerfile +++ b/cloud-toolbox/Containerfile @@ -6,8 +6,8 @@ ENV HISTSIZE=10000 ENV HISTTIMEFORMAT="%d/%m/%y %T " ENV HISTFILESIZE=20000 -#temporarily download this way, since helm in fedora repo is broken -ENV HELM_VERSION="3.14.0" +# for helm install script +ENV VERIFY_CHECKSUM="false" ENV PKGS_BASE="fzf git python3-pip rclone rsync bash-completion kubernetes-client golang-sigs-k8s-kustomize" ENV PKGS_TEMP="python3-devel gcc wget" @@ -20,7 +20,7 @@ RUN dnf clean all && \ chmod +x openshift-origin-client-tools-v3.11.0-0cbc58b-linux-64bit/* && \ mv openshift-origin-client-tools-v3.11.0-0cbc58b-linux-64bit/oc /usr/bin/ && \ rm -rf openshift-origin-client-tools-v3.11.0-0cbc58b-linux-64bit* && \ - curl -L https://get.helm.sh/helm-v${HELM_VERSION}-linux-amd64.tar.gz | tar -xz -C /tmp && mv /tmp/linux-amd64/helm /usr/bin/ && chmod +x /usr/bin/helm && \ + curl -o /dev/stdout https://raw.githubusercontent.com/helm/helm/main/scripts/get-helm-3 | bash - && \ dnf remove -y ${PKGS_TEMP} && \ dnf -y autoremove && \ dnf -y clean all && \