From e53291761a081c0cf4c301cb032beee620b2cc3c Mon Sep 17 00:00:00 2001 From: Mark Harrison Date: Mon, 14 Aug 2023 11:55:15 +0100 Subject: [PATCH] Add ArgoCD CLI --- ubuntu-2004/Dockerfile | 5 +++++ ubuntu-2204/Dockerfile | 5 +++++ windows-2019/Dockerfile | 3 +++ 3 files changed, 13 insertions(+) diff --git a/ubuntu-2004/Dockerfile b/ubuntu-2004/Dockerfile index da1176a..dea38d1 100644 --- a/ubuntu-2004/Dockerfile +++ b/ubuntu-2004/Dockerfile @@ -11,6 +11,11 @@ RUN curl -fsSL https://packages.cloud.google.com/apt/doc/apt-key.gpg | gpg --dea # Install git RUN apt-get update && apt-get install -y git +# Install Argo CD +RUN curl -sSL -o argocd-linux-amd64 https://github.com/argoproj/argo-cd/releases/latest/download/argocd-linux-amd64 && \ + install -m 555 argocd-linux-amd64 /usr/local/bin/argocd && \ + rm argocd-linux-amd64 + # Get latest Helm v3 RUN wget --quiet -O - https://raw.githubusercontent.com/helm/helm/main/scripts/get-helm-3 | bash diff --git a/ubuntu-2204/Dockerfile b/ubuntu-2204/Dockerfile index 7d0a247..70a21cd 100644 --- a/ubuntu-2204/Dockerfile +++ b/ubuntu-2204/Dockerfile @@ -11,6 +11,11 @@ RUN curl -fsSL https://packages.cloud.google.com/apt/doc/apt-key.gpg | gpg --dea # Install git RUN apt-get update && apt-get install -y git +# Install Argo CD +RUN curl -sSL -o argocd-linux-amd64 https://github.com/argoproj/argo-cd/releases/latest/download/argocd-linux-amd64 && \ + install -m 555 argocd-linux-amd64 /usr/local/bin/argocd && \ + rm argocd-linux-amd64 + # Get latest Helm v3 RUN wget --quiet -O - https://raw.githubusercontent.com/helm/helm/main/scripts/get-helm-3 | bash diff --git a/windows-2019/Dockerfile b/windows-2019/Dockerfile index 7b0f195..175a8f6 100644 --- a/windows-2019/Dockerfile +++ b/windows-2019/Dockerfile @@ -17,6 +17,9 @@ RUN choco install eksctl -y --no-progress RUN choco install awscli -y --no-progress +# Get Argo +RUN choco install argocd-cli -y --no-progress + # Install Azure CLI RUN choco install azure-cli -y --no-progress