From f43c4cf1b364e60930067b81eca66ec70ff86e9c Mon Sep 17 00:00:00 2001 From: Max DePalma Date: Sun, 19 Nov 2023 22:07:47 -0800 Subject: [PATCH] Build cargo-c with --locked to work around rust-lang/cargo#13002 --- images/base/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/images/base/Dockerfile b/images/base/Dockerfile index 9725cf46a9..0a079e9328 100644 --- a/images/base/Dockerfile +++ b/images/base/Dockerfile @@ -22,7 +22,7 @@ RUN \ ENV CARGO_HOME="/opt/cargo" RUSTUP_HOME="/opt/rustup" PATH="/opt/cargo/bin:${PATH}" RUN curl https://sh.rustup.rs -sSf | bash -s -- -y --no-modify-path && \ - cargo install cargo-c && rm -rf "${CARGO_HOME}"/registry "${CARGO_HOME}"/git + cargo install cargo-c --locked && rm -rf "${CARGO_HOME}"/registry "${CARGO_HOME}"/git RUN --mount=src=.,dst=/input \ for s in /input/*.sh; do cp $s /usr/bin/$(echo $s | sed -e 's|.*/||' -e 's/\.sh$//'); done