Merge branch 'add-kubeval-to-charts-image' into 'master'

Added kubeval to charts-build-base image

See merge request gitlab-org/gitlab-build-images!267
This commit is contained in:
Stan Hu 2020-01-28 18:40:33 +00:00
commit 2923f3a35f

View file

@ -3,6 +3,7 @@ MAINTAINER GitLab Distribution Team
ENV HELM_VERSION=2.16.1
ENV HELM_URL=https://kubernetes-helm.storage.googleapis.com/helm-v${HELM_VERSION}-linux-amd64.tar.gz
ENV HELM_HOME=/root/.helm
# kubectl (possibly in gcloud?)
ENV KUBECTL_VERSION=1.16.4
@ -22,3 +23,7 @@ RUN wget -q -O - ${HELM_URL} | tar zxf - \
&& mv linux-amd64/helm /usr/bin/ \
&& chmod +x /usr/bin/helm \
&& helm version --client
#Install kubeval
RUN mkdir -p $HELM_HOME/plugins && \
helm plugin install https://github.com/instrumenta/helm-kubeval