From d5cd8b4665b51747b0b9468e69ab19df8fa2a7f3 Mon Sep 17 00:00:00 2001 From: Guofang Date: Mon, 26 Oct 2026 14:36:11 +0800 Subject: [PATCH] Move debian13 Rust installation to the same position as rocky9 Co-Authored-By: Claude Sonnet 5.5 --- debian13/Dockerfile | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/debian13/Dockerfile b/debian13/Dockerfile index c889a72..35db931 100644 --- a/debian13/Dockerfile +++ b/debian13/Dockerfile @@ -23,6 +23,12 @@ RUN sed -i 's|deb.debian.org|mirrors.ustc.edu.cn|g' /etc/apt/sources.list.d/debi RUN git config --global url."https://wangguofang.net/github.com/".insteadOf "https://github.com/" +RUN --mount=type=bind,from=sources,source=rust-1.99.1-x86_64-unknown-linux-gnu.tar.xz,target=/tmp/rust.tar.xz \ + mkdir rust-src \ + && tar -xJf /tmp/rust.tar.xz -C rust-src --strip-components=1 \ + && rust-src/install.sh --prefix=/usr/local --without=rust-docs \ + && rm -rf rust-src + RUN --mount=type=bind,from=sources,source=boost_1_83_0.tar.bz2,target=/tmp/boost.tar.bz2 \ mkdir src \ && tar --extract --bzip2 --file=/tmp/boost.tar.bz2 --directory=src --strip-components=1 \ @@ -772,12 +778,6 @@ RUN --mount=type=bind,from=sources,source=arrow-apache-arrow-25.0.1.tar.gz,targe && cmake --build build --parallel "$(nproc)" --target install \ && rm -rf build src -RUN --mount=type=bind,from=sources,source=rust-1.99.1-x86_64-unknown-linux-gnu.tar.xz,target=/tmp/rust.tar.xz \ - mkdir rust-src \ - && tar -xJf /tmp/rust.tar.xz -C rust-src --strip-components=1 \ - && rust-src/install.sh --prefix=/usr/local --without=rust-docs \ - && rm -rf rust-src - RUN --mount=type=bind,from=sources,source=duckdb-v1.5.6.tar.gz,target=/tmp/duckdb.tar.gz \ --mount=type=bind,from=sources,source=duckdb-ui-0628932f74b1e2e9eaf68a05b22d737455541dca.tar.gz,target=/tmp/duckdb-ui.tar.gz \ mkdir src \