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/ \