From 2706e2f429974817727f3ca7dae03becf2773ad7 Mon Sep 17 00:00:00 2001 From: Tonis Tiigi Date: Mon, 9 Jun 2025 10:59:23 -0700 Subject: [PATCH] lint: fix linter error on arm64 Something has changed in golang or alpine requiring gold linker by default. In future this could be updated to clang/lld instead, eg. by just calling xx. Signed-off-by: Tonis Tiigi --- hack/dockerfiles/lint.Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hack/dockerfiles/lint.Dockerfile b/hack/dockerfiles/lint.Dockerfile index 1ce48dfff..4953892a0 100644 --- a/hack/dockerfiles/lint.Dockerfile +++ b/hack/dockerfiles/lint.Dockerfile @@ -13,7 +13,7 @@ ARG GOPLS_ANALYZERS="embeddirective fillreturns infertypeargs maprange modernize FROM --platform=$BUILDPLATFORM tonistiigi/xx:${XX_VERSION} AS xx FROM --platform=$BUILDPLATFORM golang:${GO_VERSION}-alpine${ALPINE_VERSION} AS base -RUN apk add --no-cache git gcc musl-dev +RUN apk add --no-cache git gcc musl-dev binutils-gold FROM base AS golangci-build WORKDIR /src