Docker: Add workaround for building on arm64 (#83242)

Add workaround for building on arm64
This commit is contained in:
Andreas Christou 2024-02-22 18:59:06 +00:00 committed by GitHub
parent 28fa2849df
commit d503107d7a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -38,6 +38,9 @@ ARG GO_BUILD_TAGS="oss"
ARG WIRE_TAGS="oss"
ARG BINGO="true"
# This is required to allow building on arm64 due to https://github.com/golang/go/issues/22040
RUN apk add --no-cache binutils-gold
# Install build dependencies
RUN if grep -i -q alpine /etc/issue; then \
apk add --no-cache gcc g++ make git; \