chore: add RUST_TARGET env in debian.Dockerfile

This commit is contained in:
LongYinan 2022-05-09 12:17:01 +08:00
parent 79d7453713
commit 7203632bb3
No known key found for this signature in database
GPG key ID: C3666B7FC82ADAD7

View file

@ -8,7 +8,8 @@ ENV RUSTUP_HOME=/usr/local/rustup \
CC=clang \
CXX=clang++ \
CC_x86_64_unknown_linux_gnu=clang \
CXX_x86_64_unknown_linux_gnu=clang++
CXX_x86_64_unknown_linux_gnu=clang++ \
RUST_TARGET=x86_64-unknown-linux-gnu
RUN wget -O - https://apt.llvm.org/llvm-snapshot.gpg.key | apt-key add - && \
echo "deb http://apt.llvm.org/focal/ llvm-toolchain-focal-14 main" >> /etc/apt/sources.list && \