Skip to content

Commit

Permalink
Use locked dependencies for cargo build
Browse files Browse the repository at this point in the history
  • Loading branch information
MRamanenkau committed Aug 14, 2023
1 parent d1aef70 commit 7f9bcb5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ RUN PB_REL="https://github.com/protocolbuffers/protobuf/releases" && \
RUN curl https://sh.rustup.rs -sSf | sh -s -- -y && \
export PATH=$PATH:$HOME/.cargo/bin && \
scripts/init.sh && \
cargo build --$PROFILE
cargo build --locked --$PROFILE

# ===== SECOND STAGE ======
FROM phusion/baseimage:0.11
Expand Down

0 comments on commit 7f9bcb5

Please sign in to comment.