From b6115e9625f1d9758e1166d32609554853964198 Mon Sep 17 00:00:00 2001 From: Szwendacz Date: Tue, 13 Feb 2024 11:14:34 +0100 Subject: [PATCH] temp fix because of broken helm in fedora repo --- cloud-toolbox/Containerfile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/cloud-toolbox/Containerfile b/cloud-toolbox/Containerfile index 0d27407..3a90db8 100644 --- a/cloud-toolbox/Containerfile +++ b/cloud-toolbox/Containerfile @@ -6,7 +6,10 @@ ENV HISTSIZE=10000 ENV HISTTIMEFORMAT="%d/%m/%y %T " ENV HISTFILESIZE=20000 -ENV PKGS_BASE="fzf git python3-pip rclone rsync bash-completion kubernetes-client helm golang-sigs-k8s-kustomize" +#temporarily download this way, since helm in fedora repo is broken +ENV HELM_VERSION="3.14.0" + +ENV PKGS_BASE="fzf git python3-pip rclone rsync bash-completion kubernetes-client golang-sigs-k8s-kustomize" ENV PKGS_TEMP="python3-devel gcc wget" RUN dnf clean all && \ @@ -17,6 +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 && \ dnf remove -y ${PKGS_TEMP} && \ dnf -y autoremove && \ dnf -y clean all && \