mirror of
https://github.com/orhun/git-cliff.git
synced 2024-12-01 21:23:20 +03:00
fix(docker): pin the cargo-chef version in Dockerfile
This commit is contained in:
parent
d0e1a84bd8
commit
af1851c011
@ -1,9 +1,11 @@
|
||||
FROM lukemathwalker/cargo-chef as planner
|
||||
# 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
|
||||
WORKDIR app
|
||||
COPY . .
|
||||
RUN cargo chef prepare --recipe-path recipe.json
|
||||
|
||||
FROM lukemathwalker/cargo-chef as cacher
|
||||
FROM lukemathwalker/cargo-chef:0.1.23-alpha.0-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
|
||||
|
Loading…
Reference in New Issue
Block a user