From 50e372bcbf7aaebf0b8a87d5f5141f7fba58fb09 Mon Sep 17 00:00:00 2001 From: lyon1998 Date: Thu, 22 Jun 2023 13:11:35 +0800 Subject: [PATCH] lock rust version to avoid build issue --- docker/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker/Dockerfile b/docker/Dockerfile index 43527ddd7..cda05ac84 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -42,7 +42,7 @@ ADD rust_config /root/.cargo/config ENV RUSTUP_DIST_SERVER=https://mirrors.ustc.edu.cn/rust-static ENV RUSTUP_UPDATE_ROOT=https://mirrors.ustc.edu.cn/rust-static/rustup ENV PATH="/root/.cargo/bin:${PATH}" -RUN curl https://sh.rustup.rs -sSf | bash -s -- -y && \ +RUN curl https://sh.rustup.rs -sSf | bash -s -- -y --default-toolchain='1.52.0' && \ rustup target add i686-pc-windows-gnu