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 <tonistiigi@gmail.com>
This commit is contained in:
@@ -13,7 +13,7 @@ ARG GOPLS_ANALYZERS="embeddirective fillreturns infertypeargs maprange modernize
|
|||||||
FROM --platform=$BUILDPLATFORM tonistiigi/xx:${XX_VERSION} AS xx
|
FROM --platform=$BUILDPLATFORM tonistiigi/xx:${XX_VERSION} AS xx
|
||||||
|
|
||||||
FROM --platform=$BUILDPLATFORM golang:${GO_VERSION}-alpine${ALPINE_VERSION} AS base
|
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
|
FROM base AS golangci-build
|
||||||
WORKDIR /src
|
WORKDIR /src
|
||||||
|
|||||||
Reference in New Issue
Block a user