1
0
mirror of https://github.com/docker/cli.git synced 2026-01-06 05:41:44 +03:00

Merge pull request #6557 from thaJeztah/bump_golangci_lint

Dockerfile: update golangci-lint to v2.5.0 (for go1.25)
This commit is contained in:
Paweł Gronowski
2025-10-13 12:02:34 +02:00
committed by GitHub
2 changed files with 3 additions and 2 deletions

View File

@@ -12,7 +12,7 @@
// based on https://github.com/golang/go/blob/master/src/text/tabwriter/tabwriter.go Last modified 690ac40 on 31 Jan
//nolint:gocyclo,nakedret,unused // ignore linting errors, so that we can stick close to upstream
//nolint:gocyclo,gofumpt,nakedret,unused // ignore linting errors, so that we can stick close to upstream
package tabwriter
import (

View File

@@ -6,7 +6,8 @@ ARG GO_VERSION=1.24.8
# It must be a supported tag in the docker.io/library/alpine image repository
# that's also available as alpine image variant for the Golang version used.
ARG ALPINE_VERSION=3.22
ARG GOLANGCI_LINT_VERSION=v2.1.5
# GOLANGCI_LINT_VERSION sets the version of the golangci/golangci-lint image to use.
ARG GOLANGCI_LINT_VERSION=v2.5.0
FROM golangci/golangci-lint:${GOLANGCI_LINT_VERSION}-alpine AS golangci-lint