File tree Expand file tree Collapse file tree
tools/cloud-build/images/test-runner Expand file tree Collapse file tree Original file line number Diff line number Diff 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 && \
You can’t perform that action at this time.
0 commit comments