mirror of
https://github.com/coder/coder.git
synced 2026-09-21 20:51:01 +08:00
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:
@@ -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 \
|
||||
|
||||
Reference in New Issue
Block a user