ARGS only apply from the FROM line apparently
continuous-integration/drone/tag Build is passing
Details
continuous-integration/drone/tag Build is passing
Details
This commit is contained in:
parent
d14a5b652a
commit
11016dad8f
|
@ -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}
|
||||
|
|
Loading…
Reference in New Issue