1
1
mirror of https://github.com/orhun/git-cliff.git synced 2024-09-11 06:55:38 +03:00

chore(docker): bump cargo-chef version in Dockerfile

This commit is contained in:
orhun 2021-09-04 19:46:34 +03:00
parent 4398828df7
commit 612192b3aa
No known key found for this signature in database
GPG Key ID: B928720AEC532117

View File

@ -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