File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -38,15 +38,13 @@ RUN wget https://github.com/koalaman/shellcheck/releases/download/${SHELLCHECK_V
3838 rm -rf shellcheck-*
3939
4040# --- Install TFLint Securely ---
41- RUN curl -fsSLo /tmp/tflint_linux_amd64.zip \
42- https://github.com/terraform-linters/tflint/releases/download/${TFLINT_VERSION}/tflint_linux_amd64.zip && \
43- curl -fsSLo /tmp/checksums.txt \
44- https://github.com/terraform-linters/tflint/releases/download/${TFLINT_VERSION}/checksums.txt && \
45- cd /tmp && \
46- grep "tflint_linux_amd64.zip" checksums.txt | sha256sum -c - && \
47- unzip /tmp/tflint_linux_amd64.zip -d /usr/local/bin && \
41+ RUN TFLINT_ZIP_HASH="c004ec45ade3caf87cd4089feb1d2af9f7df57b13140a36df8a63c0a8cc69f14" && \
42+ curl -fsSLo /tmp/tflint_linux_amd64.zip \
43+ https://github.com/terraform-linters/tflint/releases/download/${TFLINT_VERSION:-v0.62.1}/tflint_linux_amd64.zip && \
44+ echo "${TFLINT_ZIP_HASH} /tmp/tflint_linux_amd64.zip" | sha256sum -c - && \
45+ unzip -o /tmp/tflint_linux_amd64.zip -d /usr/local/bin && \
4846 chmod +x /usr/local/bin/tflint && \
49- rm -f /tmp/tflint_linux_amd64.zip /tmp/checksums.txt
47+ rm -f /tmp/tflint_linux_amd64.zip
5048
5149# --- Add HashiCorp Repo and Install Terraform/Packer ---
5250RUN curl -fsSL https://apt.releases.hashicorp.com/gpg | gpg --dearmor -o /usr/share/keyrings/hashicorp-archive-keyring.gpg && \
Original file line number Diff line number Diff line change 2424 - ' --cache-from'
2525 - ' ${_LOCATION}-docker.pkg.dev/${PROJECT_ID}/${_REPO}/hpc-toolkit-workstation:latest'
2626 - ' --build-arg'
27- - ' TFLINT_VERSION=v0.58 .1'
27+ - ' TFLINT_VERSION=v0.62 .1'
2828 - ' -f'
2929 - ' tools/cloud-workstations/Dockerfile'
3030 - ' .'
You can’t perform that action at this time.
0 commit comments