diff --git a/Dockerfile b/Dockerfile index 9aa27a7..fecc252 100644 --- a/Dockerfile +++ b/Dockerfile @@ -39,6 +39,13 @@ RUN curl -fsSL "https://dl.k8s.io/release/$(curl -L -s https://dl.k8s.io/release # Install Helm RUN curl -fsSL https://raw.githubusercontent.com/helm/helm/main/scripts/get-helm-3 | bash +# Set up Helm environment for plugin installation +RUN mkdir -p /tmp/helm-home && chmod 755 /tmp/helm-home +ENV HELM_CACHE_HOME=/tmp/helm-home/.cache/helm \ + HELM_CONFIG_HOME=/tmp/helm-home/.config/helm \ + HELM_DATA_HOME=/tmp/helm-home/.local/share/helm \ + HELM_PLUGINS=/usr/local/share/helm/plugins + # Install Helm plugins - helm-git and helm-diff ARG HELM_GIT_VERSION=v1.5.2 ARG HELM_DIFF_VERSION=3.15.7