Closed 0x676e67 closed 1 year ago
It's not available on arm64.
Modify it like this
ARG TARGETPLATFORM
FROM messense/rust-musl-cross:x86_64-musl
WORKDIR /src
RUN if [ "${TARGETPLATFORM}" = "linux/arm64" ]; then \
apt update -y && apt install gcc-aarch64-linux-gnu; \
elif [ "${TARGETPLATFORM}" = "linux/amd64" ]; then \
apt update -y && apt install gcc-multilib; \
fi
Cross compile BoringSSL bindings dependencies