Skip to content

Commit c0f8014

Browse files
authored
Update terraform version in test_runner image to 1.12.2 (#5112)
1 parent 90548a8 commit c0f8014

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

tools/cloud-build/images/test-runner/Dockerfile

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,9 @@ RUN curl -fsSL https://apt.releases.hashicorp.com/gpg | apt-key add - && \
2929
dnsutils && \
3030
# install terraform and packer
3131
apt-add-repository "deb [arch=$(dpkg --print-architecture)] https://apt.releases.hashicorp.com bullseye main" && \
32-
apt-get -y update && apt-get install -y unzip python3-pip python3-netaddr terraform packer jq && \
32+
apt-get -y update && \
33+
# Pin Terraform version to 1.12.2
34+
apt-get install -y unzip python3-pip python3-netaddr terraform=1.12.2 packer jq && \
3335
# install gcloud
3436
echo "deb [signed-by=/usr/share/keyrings/cloud.google.gpg] https://packages.cloud.google.com/apt cloud-sdk main" \
3537
| tee -a /etc/apt/sources.list.d/google-cloud-sdk.list && \
@@ -38,7 +40,7 @@ RUN curl -fsSL https://apt.releases.hashicorp.com/gpg | apt-key add - && \
3840
apt-get -y update && apt-get -y install google-cloud-sdk && \
3941
apt-get -y install kubectl && \
4042
# following is required to execute kubectl commands
41-
apt-get -y install google-cloud-cli-gke-gcloud-auth-plugin && \
43+
apt-get -y install google-cloud-cli-gke-gcloud-auth-plugin && \
4244
apt-get clean && rm -rf /var/lib/apt/lists/* && \
4345
# install ansible and python dependencies
4446
pip install --no-cache-dir --upgrade pip && \

0 commit comments

Comments
 (0)