Skip to content

Commit

Permalink
Store all helm data in /tmp/helm
Browse files Browse the repository at this point in the history
  • Loading branch information
martin-schaefer committed Aug 28, 2024
1 parent 0356450 commit 08a691e
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand All @@ -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/*

Expand Down

0 comments on commit 08a691e

Please sign in to comment.