build: fix aarch64 linux musl toolchain

This commit is contained in:
LongYinan 2022-08-09 13:17:52 +08:00
parent 4412c28c6d
commit 8147a9021b
No known key found for this signature in database
GPG key ID: C3666B7FC82ADAD7

View file

@ -18,6 +18,6 @@ RUN apk add --update --no-cache bash wget cmake musl-dev clang llvm build-base p
RUN rustup-init -y && \
yarn global add pnpm lerna && \
rustup target add aarch64-unknown-linux-musl && \
wget https://github.com/napi-rs/napi-rs/releases/download/linux-musl-cross%4011.2.1/aarch64-linux-musl-cross.tgz && \
wget https://github.com/napi-rs/napi-rs/releases/download/linux-musl-cross%4010/aarch64-linux-musl-cross.tgz && \
tar -xvf aarch64-linux-musl-cross.tgz && \
rm aarch64-linux-musl-cross.tgz