Skip to content

Commit

Permalink
chore(docker): bump cargo-chef version in Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
orhun committed Sep 4, 2021
1 parent 4398828 commit 612192b
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,11 +1,9 @@
# tracking issue about cargo-chef version: <https://github.com/LukeMathWalker/cargo-chef/issues/93>

FROM lukemathwalker/cargo-chef:0.1.23-alpha.0-rust-1.54-slim-buster as planner
FROM lukemathwalker/cargo-chef:0.1.31-rust-1.54-slim-buster as planner
WORKDIR app
COPY . .
RUN cargo chef prepare --recipe-path recipe.json

FROM lukemathwalker/cargo-chef:0.1.23-alpha.0-rust-1.54-slim-buster as cacher
FROM lukemathwalker/cargo-chef:0.1.31-rust-1.54-slim-buster as cacher
WORKDIR app
COPY --from=planner /app/recipe.json recipe.json
RUN cargo chef cook --release --recipe-path recipe.json
Expand Down

0 comments on commit 612192b

Please sign in to comment.