Skip to content

Commit

Permalink
pin azure cli to 2.22.0 (#201)
Browse files Browse the repository at this point in the history
  • Loading branch information
glennmusa committed May 7, 2021
1 parent b9dcd44 commit 26a0277
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .devcontainer/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
6 changes: 3 additions & 3 deletions src/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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/
Expand Down

0 comments on commit 26a0277

Please sign in to comment.