mirror of
https://github.com/coder/coder.git
synced 2026-09-24 15:04:27 +08:00
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:
@@ -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 && \
|
||||
|
||||
Reference in New Issue
Block a user