DockerCLI/dockerfiles
Sebastiaan van Stijn 48151d432c golangci-lint: update to v1.49.0 for compatibilty with go1.19
Remove the "deadcode", "structcheck", and "varcheck" linters, as they are
deprecated:

    WARN [runner] The linter 'deadcode' is deprecated (since v1.49.0) due to: The owner seems to have abandoned the linter.  Replaced by unused.
    WARN [runner] The linter 'structcheck' is deprecated (since v1.49.0) due to: The owner seems to have abandoned the linter.  Replaced by unused.
    WARN [runner] The linter 'varcheck' is deprecated (since v1.49.0) due to: The owner seems to have abandoned the linter.  Replaced by unused.
    WARN [linters context] structcheck is disabled because of generics. You can track the evolution of the generics support by following the golangci/golangci-lint#2649.

And ignore gosec G113, which only affects gp < 1.16.14. and go < 1.17.7

    opts/opts.go:398:13: G113: Potential uncontrolled memory consumption in Rat.SetString (CVE-2022-23772) (gosec)
        cpu, ok := new(big.Rat).SetString(value)
                   ^

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
(cherry picked from commit 0dd2c18082)
Signed-off-by: Cory Snider <csnider@mirantis.com>
2023-03-01 10:22:42 -05:00
..
Dockerfile.binary-native [20.10] update to go1.18.10 2023-01-11 00:44:06 +01:00
Dockerfile.cross Bump Golang 1.13.15 2020-08-10 17:24:48 +02:00
Dockerfile.dev [20.10] update to go1.18.10 2023-01-11 00:44:06 +01:00
Dockerfile.e2e [20.10] update to go1.18.10 2023-01-11 00:44:06 +01:00
Dockerfile.lint golangci-lint: update to v1.49.0 for compatibilty with go1.19 2023-03-01 10:22:42 -05:00
Dockerfile.shellcheck Dockerfiles: update shellcheck v0.7.1 2020-08-20 15:46:07 +02:00