Move debian13 Rust installation to the same position as rocky9
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
b50918a3f3
commit
d5cd8b4665
1 file changed
+6
-6
+6
-6
@@ -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 \
|
||||
|
||||
Reference in new issue
Block a user