Skip to content

Commit 2706e2f

Browse files
committed
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 <[email protected]>
1 parent 02ab492 commit 2706e2f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

hack/dockerfiles/lint.Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ ARG GOPLS_ANALYZERS="embeddirective fillreturns infertypeargs maprange modernize
1313
FROM --platform=$BUILDPLATFORM tonistiigi/xx:${XX_VERSION} AS xx
1414

1515
FROM --platform=$BUILDPLATFORM golang:${GO_VERSION}-alpine${ALPINE_VERSION} AS base
16-
RUN apk add --no-cache git gcc musl-dev
16+
RUN apk add --no-cache git gcc musl-dev binutils-gold
1717

1818
FROM base AS golangci-build
1919
WORKDIR /src

0 commit comments

Comments
 (0)