Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit04db706

Browse files
authored
Explicitly install the rust toolchain before the target during Docker builds (#11936)
Fixeshttps://github.com/astral-sh/uv/actions/runs/13641331357/job/38131724427
1 parentf0ec9fd commit04db706

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

‎Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,8 @@ RUN case "$TARGETPLATFORM" in \
2828
COPY rust-toolchain.toml rust-toolchain.toml
2929
RUN curl --proto'=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --target $(cat rust_target.txt) --profile minimal --default-toolchain none
3030
ENV PATH="$HOME/.cargo/bin:$PATH"
31-
# Installs the correct toolchain version from rust-toolchain.toml and then the musl target
31+
# Install the toolchain then the musl target
32+
RUN rustup toolchain install
3233
RUN rustup target add $(cat rust_target.txt)
3334

3435
# Build

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp