This commit is contained in:
overtrue
2025-06-17 22:37:38 +08:00
parent 2f3f86a9f2
commit efae4f5203
9 changed files with 137 additions and 1270 deletions
+1 -4
View File
@@ -18,10 +18,7 @@ RUN wget https://github.com/google/flatbuffers/releases/download/v25.2.10/Linux.
&& mv flatc /usr/local/bin/ && chmod +x /usr/local/bin/flatc && rm -rf Linux.flatc.binary.g++-13.zip
# install rust
ENV RUSTUP_DIST_SERVER="https://rsproxy.cn"
ENV RUSTUP_UPDATE_ROOT="https://rsproxy.cn/rustup"
RUN curl -o rustup-init.sh --proto '=https' --tlsv1.2 -sSf https://rsproxy.cn/rustup-init.sh \
&& sh rustup-init.sh -y && rm -rf rustup-init.sh
RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
COPY .docker/cargo.config.toml /root/.cargo/config.toml