Skip to content

Commit

Permalink
Allow access for other users to /helm
Browse files Browse the repository at this point in the history
  • Loading branch information
martin-schaefer committed Aug 29, 2024
1 parent 887c720 commit 62ebcca
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand All @@ -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/*
Expand Down

0 comments on commit 62ebcca

Please sign in to comment.