From 26a02775ed5b5e3bbd013f0a546fbf107ee505b3 Mon Sep 17 00:00:00 2001 From: Glenn Musa <4622125+glennmusa@users.noreply.github.com> Date: Fri, 7 May 2021 16:28:36 -0400 Subject: [PATCH] pin azure cli to 2.22.0 (#201) --- .devcontainer/Dockerfile | 2 +- src/Dockerfile | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.devcontainer/Dockerfile b/.devcontainer/Dockerfile index 1b7bf3b48..d9b559230 100644 --- a/.devcontainer/Dockerfile +++ b/.devcontainer/Dockerfile @@ -69,7 +69,7 @@ RUN AZ_REPO=$(lsb_release -cs) \ tee /etc/apt/sources.list.d/azure-cli.list # Install AZ CLI -RUN apt-get update && apt-get install -y azure-cli +RUN apt-get update && apt-get install -y azure-cli=2.22.0-1~focal # Add the vscode user ARG USERNAME=vscode diff --git a/src/Dockerfile b/src/Dockerfile index 5cef553c6..0a84fd233 100644 --- a/src/Dockerfile +++ b/src/Dockerfile @@ -14,14 +14,14 @@ RUN apt-get update \ unzip \ wget \ python3 \ - sed \ + sed \ python3-pip # Install Terraform and Python RUN wget -O terraform.zip https://releases.hashicorp.com/terraform/0.14.3/terraform_0.14.3_linux_amd64.zip\ && unzip ./terraform.zip -d /usr/local/bin/ \ - && rm terraform.zip + && rm terraform.zip # Download Terraform providers (plugins) # Setting the TF_PLUGIN_CACHE_DIR environment variable instructs Terraform to search that folder for plugins first @@ -55,7 +55,7 @@ RUN AZ_REPO=$(lsb_release -cs) \ tee /etc/apt/sources.list.d/azure-cli.list # Install AZ CLI -RUN apt-get update && apt-get install -y azure-cli +RUN apt-get update && apt-get install -y azure-cli=2.22.0-1~focal ADD ./front* /deployment/front/ ADD ./scripts* /deployment/scripts/