From 4999106ea42713da217333b289b5a4b1bc581480 Mon Sep 17 00:00:00 2001 From: Rafael Date: Tue, 17 Dec 2024 19:16:35 +0000 Subject: [PATCH] feat: add az aks install-cli step (#13) --- Dockerfile | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/Dockerfile b/Dockerfile index 6fb1da8..920a2b7 100644 --- a/Dockerfile +++ b/Dockerfile @@ -59,12 +59,9 @@ RUN apt-get update && apt-get install -y \ ENV DISPLAY=:99 ENV CHROME_FLAGS "--no-sandbox --disable-gpu" -# Instalar o kubectl -RUN curl -LO "https://dl.k8s.io/release/$(curl -L -s https://dl.k8s.io/release/stable.txt)/bin/linux/amd64/kubectl" \ - && install -o root -g root -m 0755 kubectl /usr/local/bin/kubectl - -# Instalar o Azure CLI (az) -RUN curl -sL https://aka.ms/InstallAzureCLIDeb | bash +# Instalar o Azure CLI (az), kubectl and kubelogin +RUN curl -sL https://aka.ms/InstallAzureCLIDeb | bash \ + && az aks install-cli # Instalar dependĂȘncias do Cypress