commit | 85bfbbb360577246f558015cd975807727e07326 | [log] [tgz] |
---|---|---|
author | Tomás González <tomasagustin.gonzalezorlando@arm.com> | Thu May 29 17:20:56 2025 +0100 |
committer | Tomás González <tomasagustin.gonzalezorlando@arm.com> | Mon Jun 02 15:55:35 2025 +0100 |
tree | 329df110239a7da57d2e37a1b0fb34d3503f88a5 | |
parent | 80ea5fc1518a151b1f8a41e0a5281c81b79d3142 [diff] |
jammy-amd64-tf-a-build: use --locked flags for cargo installs Please see https://doc.rust-lang.org/cargo/commands/cargo-install.html#dealing-with-the-lockfile This guarantees reproducible builds. Change-Id: Ib9c98bbc362da36b50e8cfc7e78b096f2bc50351 Signed-off-by: Tomás González <tomasagustin.gonzalezorlando@arm.com>
diff --git a/jammy-amd64-tf-a-build/Dockerfile b/jammy-amd64-tf-a-build/Dockerfile index a5566bc..0f5581e 100644 --- a/jammy-amd64-tf-a-build/Dockerfile +++ b/jammy-amd64-tf-a-build/Dockerfile
@@ -111,8 +111,8 @@ RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | \ sh -s -- --default-toolchain 1.85.0 -y RUN set -ex ;\ - cargo install 'tokei@12.1.*' ;\ - cargo install cargo-binutils ;\ + cargo install --locked 'tokei@12.1.*' ;\ + cargo install --locked cargo-binutils ;\ cargo install --locked cargo-vet ;\ rustup target add aarch64-unknown-none-softfloat ;\ rustup component add llvm-tools rustfmt