Add helm installation (#8551)

Update to address https://github.com/ansible/awx/issues/8551
Install `helm` binaries along with `kubectl`
This commit is contained in:
Nicolas G 2020-11-05 17:49:04 -05:00
parent dccddfffe6
commit b4a45e4cf4
No known key found for this signature in database
GPG Key ID: D124D6A036C6EC74

View File

@ -146,6 +146,10 @@ RUN dnf -y update && \
RUN curl -L -o /usr/bin/kubectl https://storage.googleapis.com/kubernetes-release/release/v1.17.8/bin/linux/{{ kubectl_architecture | default('amd64') }}/kubectl && \
chmod a+x /usr/bin/kubectl
RUN curl -fsSL -o get_helm.sh https://raw.githubusercontent.com/helm/helm/master/scripts/get-helm-3 && \
chmod 700 get_helm.sh && \
./get_helm.sh
# Install tini
RUN curl -L -o /usr/bin/tini https://github.com/krallin/tini/releases/download/v0.19.0/tini-{{ tini_architecture | default('amd64') }} && \
chmod +x /usr/bin/tini