Skip to content

Commit eb0fe77

Browse files
committed
Pin cargo-chef to 0.1.75 to fix Docker build on rustc 1.85.0
cargo-chef 0.1.76+ switched to guppy, which transitively pulls in cargo_metadata@0.23.1, cargo-platform@0.3.2, and target-spec@3.5.7, all requiring rustc 1.86+.
1 parent 3044eb7 commit eb0fe77

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ RUN cat rust-toolchain.toml | grep "channel" | awk '{print $3}' | sed 's/\"//g'
1515
&& rustup update $(cat toolchain.txt) \
1616
&& rustup default $(cat toolchain.txt) \
1717
&& rm toolchain.txt rust-toolchain.toml \
18-
&& cargo install cargo-chef --locked
18+
&& cargo install cargo-chef --version 0.1.75 --locked
1919

2020
FROM chef AS planner
2121
ARG BUILD_DEBUG=false

0 commit comments

Comments
 (0)