docs: cargo install should used --locked flag
@@ -205,7 +205,7 @@ You can install Enarx from GitHub, crates.io, or Nix.
```sh:git;
$ git clone https://github.com/enarx/enarx
$ cd enarx/
-$ cargo install --bin enarx --path ./
+$ cargo install --locked --bin enarx --path ./
```
### Install from crates.io
@@ -218,13 +218,13 @@ Rust version nightly-2022-05-03 is required when installing Enarx 0.5.1 from cra
For installing Enarx from crates.io on X86_64 Linux please run:
```sh:crates;
$ rustup toolchain install nightly-2022-05-03 -t x86_64-unknown-linux-musl,x86_64-unknown-linux-gnu,x86_64-unknown-none
-$ CARGO_TARGET_X86_64_UNKNOWN_NONE_RUSTFLAGS="-C linker=gcc" cargo +nightly-2022-05-03 -Z bindeps install --bin enarx --version 0.5.1 -- enarx
+$ CARGO_TARGET_X86_64_UNKNOWN_NONE_RUSTFLAGS="-C linker=gcc" cargo +nightly-2022-05-03 -Z bindeps install --locked --bin enarx --version 0.5.1 -- enarx
```
For installing Enarx from crates.io on non-x86_64 Linux please run:
```console
$ rustup toolchain install nightly-2022-05-03
-$ cargo +nightly-2022-05-03 -Z bindeps install --bin enarx --version 0.5.1 -- enarx
+$ cargo +nightly-2022-05-03 -Z bindeps install --locked --bin enarx --version 0.5.1 -- enarx
```
### Install from Nix
