fix: install terraform in base Docker image (#6263)

Updates the base Docker image to install Terraform version 1.3.4 (max supported version) by default.
Also updates documentation to reflect this change.
This commit is contained in:
Cian Johnston
2023-03-07 13:52:45 +00:00
committed by GitHub
parent 0c2b432c1b
commit 248c53d68d
3 changed files with 15 additions and 6 deletions
+4 -1
View File
@@ -4,12 +4,15 @@
FROM alpine:latest
# We use a single RUN command to reduce the number of layers in the image.
# NOTE: Keep the Terraform version in sync with minTerraformVersion and
# maxTerraformVersion in provisioner/terraform/install.go.
RUN apk add --no-cache \
curl \
wget \
bash \
git \
openssh-client && \
openssh-client \
terraform=1.3.4-r2 && \
addgroup \
-g 1000 \
coder && \