fix: cargo install use cargo.lock

- --locked makes use of cargo.lock
Signed-off-by: Lakshya Singh <lakshay.singh1108@gmail.com>
This commit is contained in:
Lakshya Singh
2024-02-21 20:22:48 +05:30
parent e4159120f9
commit df33aad576
2 changed files with 3 additions and 3 deletions

View File

@@ -91,7 +91,7 @@ RUN git clone $VLS_REPO vls
RUN cd vls && \
echo building $VLS_GIT_HASH \
git checkout $VLS_GIT_HASH && \
cargo install --path ./vls-proxy --bin remote_hsmd_socket --profile release --root /usr/local/ && \
cargo install --locked --path ./vls-proxy --bin remote_hsmd_socket --profile release --root /usr/local/ && \
cargo clean
# final stage with runtime dependencies and pkgs