From 7f9bcb51b085953587cabbf713a637d81e5c6c7e Mon Sep 17 00:00:00 2001 From: Maksim Ramanenkau Date: Mon, 14 Aug 2023 13:42:10 +0200 Subject: [PATCH] Use locked dependencies for cargo build --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 55ede5447..fa49bed1b 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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