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