From 647a51626eb678e00334b509c90533350525a4b0 Mon Sep 17 00:00:00 2001 From: Luciano Issoe Date: Wed, 24 Jan 2024 18:37:23 -0300 Subject: [PATCH] Adding ENV VARS in Dockerfile to ensure their parity --- Dockerfile | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index f01be6e..ee61046 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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/ \