Skip to content

Commit

Permalink
Adding ENV VARS in Dockerfile to ensure their parity
Browse files Browse the repository at this point in the history
  • Loading branch information
miagao committed Jan 24, 2024
1 parent 919a446 commit 647a516
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,14 @@ ENV BASE_URL="https://get.helm.sh"

ENV HELM_2_FILE="helm-v2.17.0-linux-amd64.tar.gz"
ENV HELM_3_FILE="helm-v3.6.3-linux-amd64.tar.gz"

# make sure these variables are the same in index.js as Gitgub can change the user home
ENV HELM_CACHE_HOME="/root/.cache/helm"
ENV HELM_CONFIG_HOME="/root/.config/helm"
ENV HELM_DATA_HOME="/root/.local/share/helm"
ENV HELM_PLUGINS="/root/.local/share/helm/plugins"
ENV HELM_REGISTRY_CONFIG="/root/.config/helm/registry.json"
ENV HELM_REPOSITORY_CACHE="/root/.cache/helm/repository"
ENV HELM_REPOSITORY_CONFIG="/root/.config/helm/repositories.yaml"

RUN apk add --no-cache ca-certificates \
--repository http://dl-3.alpinelinux.org/alpine/edge/community/ \
Expand Down

0 comments on commit 647a516

Please sign in to comment.