diff --git a/Dockerfile b/Dockerfile index 61160d5..bb81f79 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,6 +1,5 @@ FROM argoproj/argocd:v1.8.3 as base -ARG HELM_SECRETS_VERSION="3.4.1" USER root RUN apt-get update --allow-insecure-repositories --allow-unauthenticated && \ apt-get install -y \ @@ -24,6 +23,7 @@ RUN cd /usr/local/bin && \ chmod +x helm helm2 sops FROM addwrapper +ARG HELM_SECRETS_VERSION="3.4.1" # helm secrets plugin should be installed as user argocd or it won't be found USER argocd RUN /usr/local/bin/helm.bin plugin install https://github.com/jkroepke/helm-secrets --version ${HELM_SECRETS_VERSION}