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