Add Rust aarch64 toolchain to Docker container

This commit is contained in:
BoloniniD 2022-03-17 20:41:17 +03:00
parent 4a33f4ff3b
commit 0f8bfbb25b
3 changed files with 14 additions and 4 deletions

2
contrib/BLAKE3 vendored

@ -1 +1 @@
Subproject commit 0009b91cfaa44171ce869d64037b20a2aef1525c
Subproject commit 74f7fa1652e413fb7b86a86980cfff00a65fef7a

View File

@ -59,10 +59,20 @@ RUN apt-get update \
pixz \
pkg-config \
tzdata \
rustc \
cargo \
--yes --no-install-recommends
# Rust toolchain
RUN curl https://sh.rustup.rs -sSf | bash -s -- -y
ENV PATH="/root/.cargo/bin:${PATH}"
RUN rustup target add aarch64-unknown-linux-gnu && \
apt-get install \
gcc-aarch64-linux-gnu \
build-essential \
libc6 \
libc6-dev \
--yes
# NOTE: Seems like gcc-11 is too new for ubuntu20 repository
RUN add-apt-repository ppa:ubuntu-toolchain-r/test --yes \
&& apt-get update \