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:
parent
e4159120f9
commit
df33aad576
@ -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
|
||||
|
@ -17,8 +17,8 @@ RUN git clone https://gitlab.com/lightning-signer/validating-lightning-signer.gi
|
||||
RUN cd vls && \
|
||||
echo building $VLS_GIT_HASH \
|
||||
git checkout $VLS_GIT_HASH && \
|
||||
cargo install --path ./vls-proxy --bin vlsd2 --profile release --root /usr/local/ && \
|
||||
cargo install --path ./vls-cli --profile release --root /usr/local/ && \
|
||||
cargo install --locked --path ./vls-proxy --bin vlsd2 --profile release --root /usr/local/ && \
|
||||
cargo install --locked --path ./vls-cli --profile release --root /usr/local/ && \
|
||||
cargo clean
|
||||
|
||||
FROM --platform=${TARGETPLATFORM:-${BUILDPLATFORM:-linux/amd64}} alpine:3.18 as runner
|
||||
|
Loading…
x
Reference in New Issue
Block a user