From 1e8894efccb6059c6f2b8f207c94cbad4b47d2e7 Mon Sep 17 00:00:00 2001 From: Nikolai Rodionov Date: Tue, 4 Apr 2023 14:24:12 +0200 Subject: [PATCH] fix: Use the correct dudo argument in Dockerfiles --- dockerfiles/Dockerfile-argo | 2 +- dockerfiles/Dockerfile-helmfile | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/dockerfiles/Dockerfile-argo b/dockerfiles/Dockerfile-argo index f71de2e..c99d96f 100644 --- a/dockerfiles/Dockerfile-argo +++ b/dockerfiles/Dockerfile-argo @@ -3,7 +3,7 @@ FROM ghcr.io/allanger/dumb-downloader as builder ARG ARGOCD_VERSION=v2.5.10 ENV RUST_LOG=info RUN mkdir /out -RUN dudo -l "https://github.com/argoproj/argo-cd/releases/download/{{ version }}/argocd-{{ os }}-{{ arch }}" -i /tmp/argocd -p $ARGOCD_VERSION +RUN dudo -l "https://github.com/argoproj/argo-cd/releases/download/{{ version }}/argocd-{{ os }}-{{ arch }}" -d /tmp/argocd -p $ARGOCD_VERSION RUN mv /tmp/argocd /out/argocd && chmod +x /out/argocd FROM ghcr.io/allanger/check-da-helm-base:${BASE_VERSION} diff --git a/dockerfiles/Dockerfile-helmfile b/dockerfiles/Dockerfile-helmfile index 6870906..b37755b 100644 --- a/dockerfiles/Dockerfile-helmfile +++ b/dockerfiles/Dockerfile-helmfile @@ -4,8 +4,8 @@ RUN apt-get update -y && apt-get install tar -y ARG HELM_VERSION=v3.10.3 ARG HELMFILE_VERSION=0.151.0 ENV RUST_LOG=info -RUN dudo -l "https://github.com/helmfile/helmfile/releases/download/v{{ version }}/helmfile_{{ version }}_{{ os }}_{{ arch }}.tar.gz" -i /tmp/helmfile.tar.gz -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 dudo -l "https://github.com/helmfile/helmfile/releases/download/v{{ version }}/helmfile_{{ version }}_{{ os }}_{{ arch }}.tar.gz" -d /tmp/helmfile.tar.gz -p $HELMFILE_VERSION +RUN dudo -l "https://get.helm.sh/helm-{{ version }}-{{ os }}-{{ arch }}.tar.gz" -d /tmp/helm.tar.gz -p $HELM_VERSION RUN tar -xf /tmp/helm.tar.gz -C /tmp && rm -f /tmp/helm.tar.gz RUN tar -xf /tmp/helmfile.tar.gz -C /tmp && rm -f /tmp/helmfile.tar.gz RUN mkdir /out && for bin in `find /tmp | grep helm`; do cp $bin /out/; done