From 052ba13b937732d9250ee833b65fe9e3928b45e9 Mon Sep 17 00:00:00 2001 From: Astound Date: Sun, 13 Jul 2025 20:05:49 -0500 Subject: [PATCH] Add TFLint package --- Dockerfile | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/Dockerfile b/Dockerfile index 4cd6752..fda8011 100644 --- a/Dockerfile +++ b/Dockerfile @@ -13,6 +13,7 @@ ENV ARCH=${TARGETARCH:-amd64} ENV DEBIAN_FRONTEND=noninteractive ENV KUBECTL_VERSION=1.33.0 ENV KUBECTL_DATE=2025-05-01 +ENV TFLINT_VERSION=0.58.1 # User config ENV DOCKER_USER=coder \ @@ -92,6 +93,12 @@ RUN curl -sLO "https://github.com/eksctl-io/eksctl/releases/latest/download/eksc tar -xzf eksctl_Linux_${ARCH}.tar.gz -C /tmp && \ mv /tmp/eksctl /usr/local/bin && rm eksctl_Linux_${ARCH}.tar.gz +# TFlint +RUN curl -sLO "https://github.com/terraform-linters/tflint/releases/download/v${TFLINT_VERSION}/tflint_linux_${ARCH}.zip" && \ + unzip -q tflint_linux_${ARCH}.zip && \ + mv tflint /usr/local/bin/ && \ + rm tflint_linux_${ARCH}.zip + # code-server (auto-detects arch) RUN curl -fsSL https://code-server.dev/install.sh | sh