From afdaae66db813eb2764458cb0d3367900821bbce Mon Sep 17 00:00:00 2001 From: Matteo Gazzetta Date: Wed, 29 Aug 2018 17:46:44 +0200 Subject: [PATCH] Helm 2.10 and fix permissions (#13) * Helm 2.10.0 * Fix helm init with uid --- Dockerfile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index c10b6cb..b48dd7d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -24,6 +24,8 @@ RUN apk --no-cache add \ py-crcmod \ py-pip +ENV HOME /tmp + # Install YQ command line reader ARG YQ_VERSION=2.5.0 RUN pip install "yq==$YQ_VERSION" @@ -49,7 +51,7 @@ RUN curl -LO "https://storage.googleapis.com/kubernetes-release/release/v$KUBECT mv kubectl /usr/local/bin/ # Install Helm -ARG HELM_VERSION=2.9.1 +ARG HELM_VERSION=2.10.0 RUN curl -LO "https://kubernetes-helm.storage.googleapis.com/helm-v$HELM_VERSION-linux-amd64.tar.gz" && \ mkdir -p "/usr/local/helm-$HELM_VERSION" && \ tar -xzf "helm-v$HELM_VERSION-linux-amd64.tar.gz" -C "/usr/local/helm-$HELM_VERSION" && \ @@ -61,3 +63,4 @@ COPY lib /testing/lib/ COPY chart_test.sh /testing/ RUN ln -s /testing/chart_test.sh /usr/local/bin/chart_test.sh +USER nobody