@@ -6,7 +6,6 @@ ARG HELM_VERSION=4.1.1
66# Kubeval does not have tags, so we use a commit
77ARG HELM_KUBEVAL_VERSION=7476464
88ARG HELM_VALUES_VERSION=1.2.0
9- ARG HELM_KUBECONFORM_VERSION=v0.2.0
109
1110# Make helm install everything in defined folder
1211ENV HOME=/helm
@@ -32,9 +31,6 @@ RUN git clone -n https://github.com/instrumenta/helm-kubeval ${HOME}/.local/shar
3231 HELM_PLUGIN_DIR=$(pwd) scripts/install.sh && \
3332 rm -rf .git
3433
35- # install helm-kubeconform
36- RUN helm plugin install https://github.com/jtyr/kubeconform-helm --version ${HELM_KUBECONFORM_VERSION} || helm plugin install https://github.com/jtyr/kubeconform-helm --version ${HELM_KUBECONFORM_VERSION} --verify=false
37-
3834# install helm-values
3935RUN git clone --depth 1 --branch ${HELM_VALUES_VERSION} https://github.com/shihyuho/helm-values /tmp/helm-values
4036# helm 3 removed the option "home" to get helms home-path, so "helm home" won't work with helm 3
@@ -61,9 +57,9 @@ ENV HELM_CACHE_HOME="/helm/.cache/helm" \
6157 HELM_REGISTRY_CONFIG="/helm/.config/helm/registry.json" \
6258 HELM_REPOSITORY_CACHE="/helm/.cache/helm/repository" \
6359 HELM_REPOSITORY_CONFIG="/helm/.config/helm/repositories.yaml" \
64- PATH="/helm/.local/share/helm/plugins/helm-kubeval/bin:/helm/.local/share/helm/plugins/kubeconform-helm/bin: $PATH"
60+ PATH="/helm/.local/share/helm/plugins/helm-kubeval/bin:$PATH"
6561
66- RUN apk add --update --no-cache ca-certificates curl git openssl bash python3 py3-yaml
62+ RUN apk add --update --no-cache ca-certificates curl git openssl bash
6763COPY --from=builder /dist /
6864
6965ENTRYPOINT ["helm" ]
0 commit comments