docs: fix offline dockerfile bug (#16923)

bug caused via the `apk del terraform` line in our Dockerfile, which
does not yet exist in the Alpine Linux OS.

removing this line (18) results in successful builds.
This commit is contained in:
Eric Paulsen
2025-03-14 12:11:14 -04:00
committed by GitHub
parent 673294deab
commit 7ba4df1bc4
-1
View File
@@ -57,7 +57,6 @@ RUN mkdir -p /opt/terraform
# for supported Terraform versions.
ARG TERRAFORM_VERSION=1.11.0
RUN apk update && \
apk del terraform && \
curl -LOs https://releases.hashicorp.com/terraform/${TERRAFORM_VERSION}/terraform_${TERRAFORM_VERSION}_linux_amd64.zip \
&& unzip -o terraform_${TERRAFORM_VERSION}_linux_amd64.zip \
&& mv terraform /opt/terraform \