From 7c945412fbfdb5857b13445383ff6477eb884e12 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Smolarek?= <34063647+Razz4780@users.noreply.github.com> Date: Mon, 13 Jan 2025 11:08:48 +0100 Subject: [PATCH] Pin cargo chef (#3014) * Pinned cargo-chef to 0.1.68 * Changelog --- changelog.d/+pinned-cargo-chef.internal.md | 1 + mirrord/agent/Dockerfile | 3 ++- mirrord/cli/Dockerfile | 3 ++- 3 files changed, 5 insertions(+), 2 deletions(-) create mode 100644 changelog.d/+pinned-cargo-chef.internal.md diff --git a/changelog.d/+pinned-cargo-chef.internal.md b/changelog.d/+pinned-cargo-chef.internal.md new file mode 100644 index 00000000000..8b18e6071d2 --- /dev/null +++ b/changelog.d/+pinned-cargo-chef.internal.md @@ -0,0 +1 @@ +Pinned `cargo-chef` version to `0.1.68` in the dockerfiles. \ No newline at end of file diff --git a/mirrord/agent/Dockerfile b/mirrord/agent/Dockerfile index 83c97871cae..e9de8df84d6 100644 --- a/mirrord/agent/Dockerfile +++ b/mirrord/agent/Dockerfile @@ -8,7 +8,8 @@ RUN ./platform.sh # this takes around 1 minute since libgit2 is slow https://github.com/rust-lang/cargo/issues/9167 ENV CARGO_NET_GIT_FETCH_WITH_CLI=true -RUN cargo install cargo-chef +# cargo-chef 0.1.69 breaks the build +RUN cargo install cargo-chef@0.1.68 FROM chef AS planner diff --git a/mirrord/cli/Dockerfile b/mirrord/cli/Dockerfile index 81e37142055..144f4a0e162 100644 --- a/mirrord/cli/Dockerfile +++ b/mirrord/cli/Dockerfile @@ -8,7 +8,8 @@ RUN ./platform.sh # this takes around 1 minute since libgit2 is slow https://github.com/rust-lang/cargo/issues/9167 ENV CARGO_NET_GIT_FETCH_WITH_CLI=true -RUN cargo install cargo-chef +# cargo-chef 0.1.69 breaks the build +RUN cargo install cargo-chef@0.1.68 FROM chef AS planner