fix-release: try update Dockerfile

Signed-off-by: andrewmatilde <davis6813585853062@outlook.com>
This commit is contained in:
andrewmatilde 2022-05-10 13:11:48 +08:00
parent 688dbe4ea6
commit 0c859a535c
1 changed files with 1 additions and 1 deletions

View File

@ -15,7 +15,7 @@ ENV https_proxy $HTTPS_PROXY
RUN apt-get update && apt-get install build-essential $CC curl git pkg-config -y && rm -rf /var/lib/apt/lists/*
RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --default-toolchain $TARGET
ENV PATH "/root/.cargo/bin:${PATH}"
RUN if [ -n "$HTTP_PROXY" ]; then echo "[http]\n\