Skip to content

Commit

Permalink
Install cargo-chef with --locked (#237)
Browse files Browse the repository at this point in the history
We want to use the Cargo.lock file to use exactly the specified
dependencies. Without this, versions of some (possibly transitive)
dependenencies can advance, and in particular advance past the point
of supporting our currently pinned rust toolchain.
  • Loading branch information
kulakowski authored Aug 24, 2023
1 parent f1406e4 commit 22508c7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/standalone/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
ARG CARGO_PROFILE=release

FROM rust:1.69.0 AS chef
RUN cargo install cargo-chef@0.1.56
RUN cargo install cargo-chef@0.1.56 --locked
WORKDIR /usr/src/app

FROM chef AS planner
Expand Down

0 comments on commit 22508c7

Please sign in to comment.