chore: update various dependencies (#7503)

This will help us pass the security scanners.
This commit is contained in:
Ammar Bandukwala 2023-05-14 15:37:50 -05:00 committed by GitHub
parent 26490aecca
commit 9bb0253290
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 4 deletions

View File

@ -19,10 +19,10 @@ var (
// TerraformVersion is the version of Terraform used internally
// when Terraform is not available on the system.
// NOTE: Keep this in sync with the version in scripts/Dockerfile.base.
TerraformVersion = version.Must(version.NewVersion("1.3.4"))
TerraformVersion = version.Must(version.NewVersion("1.4.6"))
minTerraformVersion = version.Must(version.NewVersion("1.1.0"))
maxTerraformVersion = version.Must(version.NewVersion("1.3.9"))
maxTerraformVersion = version.Must(version.NewVersion("1.4.9"))
terraformMinorVersionMismatch = xerrors.New("Terraform binary minor version mismatch.")
)

View File

@ -1,7 +1,7 @@
# This is the base image used for Coder images. It's a multi-arch image that is
# built in depot.dev for all supported architectures. Since it's built on real
# hardware and not cross-compiled, it can have "RUN" commands.
FROM alpine:latest
FROM alpine:3.18
# 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
@ -12,7 +12,7 @@ RUN apk add --no-cache \
bash \
git \
openssh-client \
terraform=1.3.4-r4 && \
terraform=1.4.6-r1 && \
addgroup \
-g 1000 \
coder && \