From d503107d7a7cb2f64f92bfb97c2b23ee6df9c35a Mon Sep 17 00:00:00 2001 From: Andreas Christou Date: Thu, 22 Feb 2024 18:59:06 +0000 Subject: [PATCH] Docker: Add workaround for building on `arm64` (#83242) Add workaround for building on arm64 --- Dockerfile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Dockerfile b/Dockerfile index 9f41c4c048e..99d25ac1d57 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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; \