From 8ba5faf5e6bc26edd2a9a76b69736d2f5c87017b Mon Sep 17 00:00:00 2001 From: Riccardo Piccoli Date: Tue, 4 Aug 2020 15:50:18 +0200 Subject: [PATCH] define XDG HOME for helm v3 compatibility --- Dockerfile | 4 +++- entrypoint.sh | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 2391799..d111b11 100644 --- a/Dockerfile +++ b/Dockerfile @@ -6,7 +6,9 @@ LABEL maintainer="Serebrennikov Stanislav " \ org.label-schema.schema-version="1.0" ENV HELM_VERSION v3.2.4 ENV HELM_PLUGIN_PUSH_VERSION v0.8.1 -ENV HELM_HOME=/root/.helm + +ENV XDG_DATA_HOME=/opt/xdg +ENV XDG_CACHE_HOME=/opt/xdg RUN apk add curl tar bash --no-cache RUN set -ex \ diff --git a/entrypoint.sh b/entrypoint.sh index bccab2b..97cf82c 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -39,4 +39,4 @@ helm inspect chart . helm package . -helm push ${CHART_FOLDER}-* ${CHARTMUSEUM_URL} -u ${CHARTMUSEUM_USER} -p ${CHARTMUSEUM_PASSWORD} ${FORCE} \ No newline at end of file +helm push ${CHART_FOLDER}-* ${CHARTMUSEUM_URL} -u ${CHARTMUSEUM_USER} -p ${CHARTMUSEUM_PASSWORD} ${FORCE}