diff --git a/Dockerfile b/Dockerfile index 8fdc3c832..7acfb55ed 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM --platform=$BUILDPLATFORM golang:1.21-alpine3.18 as builder +FROM --platform=$BUILDPLATFORM golang:1.22-alpine3.19 as builder ARG TARGETOS TARGETARCH diff --git a/docs/developer-guide/building.md b/docs/developer-guide/building.md index ea0e68a89..2ca6ac17a 100644 --- a/docs/developer-guide/building.md +++ b/docs/developer-guide/building.md @@ -1,6 +1,6 @@ # Building TFLint -Go 1.21 or higher is required to build TFLint from source code. Clone the source code and run the `make` command. Built binary will be placed in `dist` directory. +Go 1.22 or higher is required to build TFLint from source code. Clone the source code and run the `make` command. Built binary will be placed in `dist` directory. ```console $ git clone https://github.com/terraform-linters/tflint.git