From 4964ff223cde7f97808bebb63e8afc33bc856d75 Mon Sep 17 00:00:00 2001 From: Kostas Livieratos Date: Thu, 30 Jul 2020 16:50:53 +0300 Subject: [PATCH] Another helm plugins dir change --- Dockerfile | 5 +++-- entrypoint.sh | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index 8739b90..466bfb9 100644 --- a/Dockerfile +++ b/Dockerfile @@ -13,9 +13,10 @@ RUN chmod +x /usr/bin/aws-iam-authenticator RUN wget https://get.helm.sh/helm-v3.2.4-linux-amd64.tar.gz -O - | tar -xzO linux-amd64/helm > /usr/local/bin/helm RUN chmod +x /usr/local/bin/helm -RUN export HELM_PLUGINS=~/.helm/plugins +RUN mkdir -p /usr/local/.helm/plugins/ +RUN export HELM_PLUGINS=/usr/local/.helm/plugins/ RUN helm plugin install https://github.com/zendesk/helm-secrets -RUN ls ~/.helm/plugins +RUN ls -all /usr/local/.helm/plugins/ COPY entrypoint.sh /entrypoint.sh ENTRYPOINT ["/entrypoint.sh"]: \ No newline at end of file diff --git a/entrypoint.sh b/entrypoint.sh index 52810ea..0dc1ba3 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -2,7 +2,7 @@ echo ${KUBE_CONFIG_DATA} | base64 -d > kubeconfig export KUBECONFIG=kubeconfig -export HELM_PLUGINS=~/.helm/plugins +export HELM_PLUGINS=/usr/local/.helm/plugins/ result="$($1)"