Search code examples
dockerfilekubernetes-helm

Helm installation


I am trying to install helm using Dockerfile. I have tried following methods:

1.

RUN apt-get update && apt-get -y install apt-transport-https
RUN curl -s https://helm.baltorepo.com/organization/signing.asc | apt-key add -
RUN echo "deb https://baltocdn.com/helm/stable/debian/ all main" | tee /etc/apt/sources.list.d/helm-stable-debian.list
RUN apt-get update && apt-get -y install helm
  1. RUN curl -o helm-v2.10.0-linux-amd64.tgz https://storage.googleapis.com/kubernetes-helm/helm-v2.10.0-linux-amd64.tar.gz && tar -zxvf helm-v2.10.0-linux-amd64.tgz && mv linux-amd64/helm /usr/local/bin/helm

Both of them are returning helm not found when I do helm -h.


Solution

  • Can you try.

    Download the binary

    curl -OL https://get.helm.sh/helm-version-linux-arm64.tar.gz

    Unpack it tar -zxvf your_dowloaded_file

    Find unpacked binary and move it to desired destination mv directory/helm /usr/local/bin/helm

    You can find helm binary releases here

    You can find other installation method here