From c991ce92e27477e6c9a8758a24ad05abd95db783 Mon Sep 17 00:00:00 2001 From: Artem Yurchenko Date: Thu, 21 Nov 2024 20:10:39 +0100 Subject: [PATCH] setup(dockerfile): update linter version from 1.61.0 to 1.62.0 --- Dockerfile | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/Dockerfile b/Dockerfile index 3b16e29..259607f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -7,8 +7,8 @@ RUN addgroup -S lintergroup && adduser -S linteruser -G lintergroup \ SHELL ["/bin/ash", "-eo", "pipefail", "-c"] # NOTE: update to latest secure libcrypto3 version. -RUN apk add --no-cache curl=8.10.1-r0 go=1.22.8-r0 libcrypto3=3.3.2-r1 \ - && curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b /bin v1.61.0 \ +RUN apk add --no-cache curl=8.11.0-r2 go=1.22.9-r0 libcrypto3=3.3.2-r1 \ + && curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b /bin v1.62.0 \ && apk del curl WORKDIR /linter_workdir @@ -19,10 +19,8 @@ HEALTHCHECK --timeout=1s --retries=1 CMD /bin/golangci-lint --version || exit 1 # NOTE: `gci` linter conflicts with `gofumpt`, which I believe have more sense to use than `gci`. ENTRYPOINT ["/bin/golangci-lint", "run", "--enable-all", \ - "--disable", "execinquery", \ "--disable", "exportloopref", \ "--disable", "forbidigo", \ "--disable", "depguard", \ "--disable", "testpackage", \ - "--disable", "gci", \ - "--disable", "gomnd"] \ No newline at end of file + "--disable", "gci"] \ No newline at end of file