modify argo dockerile

This commit is contained in:
Nikolai Rodionov 2023-02-12 14:00:05 +01:00
parent 8947627ec0
commit 1703a60e9b

View File

@ -2,8 +2,8 @@ FROM ghcr.io/allanger/dumb-downloader as builder
ARG ARGOCD_VERSION=v2.5.10 ARG ARGOCD_VERSION=v2.5.10
ENV RUST_LOG=info ENV RUST_LOG=info
RUN mkdir /out RUN mkdir /out
RUN dudo -l "https://github.com/argoproj/argo-cd/releases/download/{{ version }}/argocd-{{ os }}-{{ arch }}" -i /out/argocd -p $ARGOCD_VERSION RUN dudo -l "https://github.com/argoproj/argo-cd/releases/download/{{ version }}/argocd-{{ os }}-{{ arch }}" -i /tmp/argocd -p $ARGOCD_VERSION
RUN chmod +x /out/argocd RUN mv /tmp/argocd /out/argocd && chmod +x /out/argocd
FROM ghcr.io/allanger/check-da-helm-base FROM ghcr.io/allanger/check-da-helm-base
COPY --from=builder /out/ /usr/bin COPY --from=builder /out/ /usr/bin