magnum/dockerfiles/helm-client/Dockerfile
Bharat Kunwar 8a35cba25c [k8s] Build helm-client containers v2.16.6 and v3.2.0
Use buster-slim base image which is the latest stable [0].

[0] https://www.debian.org/releases/index.en.html

Story: 2007514
Task: 39525

Change-Id: I1ff8224cf064b7138f8868b2ac17710014f1e988
2020-04-29 10:10:21 +00:00

16 lines
403 B
Docker

ARG HELM_VERSION=v3.2.0
FROM debian:buster-slim
ARG HELM_VERSION
RUN apt-get update \
&& apt-get install -y \
curl \
bash \
&& curl -o helm.tar.gz https://get.helm.sh/helm-${HELM_VERSION}-linux-amd64.tar.gz \
&& mkdir -p helm \
&& tar zxvf helm.tar.gz -C helm \
&& cp helm/linux-amd64/helm /usr/local/bin \
&& chmod +x /usr/local/bin/helm \
&& rm -rf helm*