Skip to content

Commit ed1ba57

Browse files
committed
HYPERFLEET-1057 - feat: Fix e2e dockerfile to properly install helm plugins
1 parent 2b8fb4f commit ed1ba57

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

Dockerfile

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,13 @@ RUN curl -fsSL "https://dl.k8s.io/release/$(curl -L -s https://dl.k8s.io/release
3939
# Install Helm
4040
RUN curl -fsSL https://raw.githubusercontent.com/helm/helm/main/scripts/get-helm-3 | bash
4141

42+
# Set up Helm environment for plugin installation
43+
RUN mkdir -p /tmp/helm-home && chmod 755 /tmp/helm-home
44+
ENV HELM_CACHE_HOME=/tmp/helm-home/.cache/helm \
45+
HELM_CONFIG_HOME=/tmp/helm-home/.config/helm \
46+
HELM_DATA_HOME=/tmp/helm-home/.local/share/helm \
47+
HELM_PLUGINS=/usr/local/share/helm/plugins
48+
4249
# Install Helm plugins - helm-git and helm-diff
4350
ARG HELM_GIT_VERSION=v1.5.2
4451
ARG HELM_DIFF_VERSION=3.15.7

0 commit comments

Comments
 (0)