Skip to content

Commit 9bb0253

Browse files
authored
chore: update various dependencies (#7503)
This will help us pass the security scanners.
1 parent 26490ae commit 9bb0253

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

provisioner/terraform/install.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,10 @@ var (
1919
// TerraformVersion is the version of Terraform used internally
2020
// when Terraform is not available on the system.
2121
// NOTE: Keep this in sync with the version in scripts/Dockerfile.base.
22-
TerraformVersion = version.Must(version.NewVersion("1.3.4"))
22+
TerraformVersion = version.Must(version.NewVersion("1.4.6"))
2323

2424
minTerraformVersion = version.Must(version.NewVersion("1.1.0"))
25-
maxTerraformVersion = version.Must(version.NewVersion("1.3.9"))
25+
maxTerraformVersion = version.Must(version.NewVersion("1.4.9"))
2626

2727
terraformMinorVersionMismatch = xerrors.New("Terraform binary minor version mismatch.")
2828
)

scripts/Dockerfile.base

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# This is the base image used for Coder images. It's a multi-arch image that is
22
# built in depot.dev for all supported architectures. Since it's built on real
33
# hardware and not cross-compiled, it can have "RUN" commands.
4-
FROM alpine:latest
4+
FROM alpine:3.18
55

66
# We use a single RUN command to reduce the number of layers in the image.
77
# NOTE: Keep the Terraform version in sync with minTerraformVersion and
@@ -12,7 +12,7 @@ RUN apk add --no-cache \
1212
bash \
1313
git \
1414
openssh-client \
15-
terraform=1.3.4-r4 && \
15+
terraform=1.4.6-r1 && \
1616
addgroup \
1717
-g 1000 \
1818
coder && \

0 commit comments

Comments
 (0)