Docker: Add workaround for building on arm64 (#83242)
Add workaround for building on arm64
This commit is contained in:
@@ -38,6 +38,9 @@ ARG GO_BUILD_TAGS="oss"
|
|||||||
ARG WIRE_TAGS="oss"
|
ARG WIRE_TAGS="oss"
|
||||||
ARG BINGO="true"
|
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
|
# Install build dependencies
|
||||||
RUN if grep -i -q alpine /etc/issue; then \
|
RUN if grep -i -q alpine /etc/issue; then \
|
||||||
apk add --no-cache gcc g++ make git; \
|
apk add --no-cache gcc g++ make git; \
|
||||||
|
|||||||
Reference in New Issue
Block a user