From e7b2b89b0cc92692cde5d330762fd2d8dabf426b Mon Sep 17 00:00:00 2001 From: Nikolai Rodionov Date: Sun, 12 Feb 2023 09:47:45 +0100 Subject: [PATCH] Use dudo --- dockerfiles/Dockerfile-argo | 2 +- dockerfiles/Dockerfile-helmfile | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/dockerfiles/Dockerfile-argo b/dockerfiles/Dockerfile-argo index 18dc7e5..fe1c4d1 100644 --- a/dockerfiles/Dockerfile-argo +++ b/dockerfiles/Dockerfile-argo @@ -2,7 +2,7 @@ FROM ghcr.io/allanger/clever-install as builder ARG ARGOCD_VERSION=v2.5.10 ENV RUST_LOG=info RUN mkdir /out -RUN clin -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 /out/argocd -p $ARGOCD_VERSION RUN chmod +x /out/argocd FROM ghcr.io/allanger/check-da-helm-base diff --git a/dockerfiles/Dockerfile-helmfile b/dockerfiles/Dockerfile-helmfile index a7be466..d47bbdb 100644 --- a/dockerfiles/Dockerfile-helmfile +++ b/dockerfiles/Dockerfile-helmfile @@ -1,10 +1,10 @@ -FROM ghcr.io/allanger/clever-install as builder +FROM ghcr.io/allanger/dumb-downloader as builder RUN apk update && apk add tar ARG HELM_VERSION=v3.10.3 ARG HELMFILE_VERSION=0.150.0 ENV RUST_LOG=info -RUN clin -l "https://github.com/helmfile/helmfile/releases/download/v{{ version }}/helmfile_{{ version }}_{{ os }}_{{ arch }}.tar.gz" -i /tmp/helmfile -p $HELMFILE_VERSION -RUN clin -l "https://get.helm.sh/helm-{{ version }}-{{ os }}-{{ arch }}.tar.gz" -i /tmp/helm.tar.gz -p $HELM_VERSION +RUN dudo -l "https://github.com/helmfile/helmfile/releases/download/v{{ version }}/helmfile_{{ version }}_{{ os }}_{{ arch }}.tar.gz" -i /tmp/helmfile -p $HELMFILE_VERSION +RUN dudo -l "https://get.helm.sh/helm-{{ version }}-{{ os }}-{{ arch }}.tar.gz" -i /tmp/helm.tar.gz -p $HELM_VERSION RUN tar -xf /tmp/helm.tar.gz -C /tmp && rm -f /tmp/helm.tar.gz RUN mkdir /out && for bin in `find /tmp | grep helm`; do cp $bin /out/; done RUN chmod +x /out/helm