From 7203632bb307d2a1c6251d192caf8414f0407da6 Mon Sep 17 00:00:00 2001 From: LongYinan Date: Mon, 9 May 2022 12:17:01 +0800 Subject: [PATCH] chore: add RUST_TARGET env in debian.Dockerfile --- debian.Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/debian.Dockerfile b/debian.Dockerfile index b4636833..532dd983 100644 --- a/debian.Dockerfile +++ b/debian.Dockerfile @@ -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 && \