This repository has been archived on 2024-09-13. You can view files and clone it, but cannot push or open issues or pull requests.
check-da-helm/dockerfiles/Dockerfile-argo

13 lines
499 B
Plaintext
Raw Normal View History

ARG BASE_VERSION=latest
2023-02-14 21:16:34 +00:00
FROM ghcr.io/allanger/dumb-downloader as builder
2023-06-27 02:21:28 +00:00
ARG ARGOCD_VERSION=v2.7.6
2023-02-14 21:16:34 +00:00
ENV RUST_LOG=info
RUN mkdir /out
RUN dudo -l "https://github.com/argoproj/argo-cd/releases/download/{{ version }}/argocd-{{ os }}-{{ arch }}" -d /tmp/argocd -p $ARGOCD_VERSION
2023-02-14 21:16:34 +00:00
RUN mv /tmp/argocd /out/argocd && chmod +x /out/argocd
FROM ghcr.io/allanger/check-da-helm-base:${BASE_VERSION}
2023-02-14 21:16:34 +00:00
COPY --from=builder /out/ /usr/bin
RUN apk update --no-cache && apk add --no-cache jq bash
ENTRYPOINT ["cdh"]