From 62ebcca074a24c8a3ccaf8e517fb2cccc85c5900 Mon Sep 17 00:00:00 2001 From: martin-schaefer Date: Thu, 29 Aug 2024 19:18:52 +0200 Subject: [PATCH] Allow access for other users to /helm --- Dockerfile | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/Dockerfile b/Dockerfile index 37defd8..8994f20 100644 --- a/Dockerfile +++ b/Dockerfile @@ -6,12 +6,6 @@ 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 \ @@ -27,8 +21,8 @@ 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 +# Allow access for other users to /helm +RUN chmod -R a+rw /helm # Clean up RUN apt-get clean && rm -rf /var/lib/apt/lists/*