diff --git a/Dockerfile b/Dockerfile index 4881649..03d9f34 100644 --- a/Dockerfile +++ b/Dockerfile @@ -6,6 +6,12 @@ LABEL org.opencontainers.image.licenses="Apache License v2.0" # Set environment variables for non-interactive installation ENV DEBIAN_FRONTEND=noninteractive +# Store all helm data in /tmp/helm +ENV HOME=/tmp/helm +ENV HELM_CACHE_HOME=/tmp/helm/cache +ENV HELM_CONFIG_HOME=/tmp/helm/config +ENV HELM_DATA_HOME=/tmp/helm/data + # Install dependencies RUN apt-get update && apt-get install -y \ wget \ @@ -21,6 +27,9 @@ RUN wget -qO - https://packages.adoptium.net/artifactory/api/gpg/key/public | gp # Update package list and install Temurin-17 RUN apt-get update && apt-get install -y temurin-17-jre +# Install helmfile dependencies (helm plugins, etc.) +RUN helmfile init --force + # Clean up RUN apt-get clean && rm -rf /var/lib/apt/lists/*