1
1
mirror of https://github.com/orhun/git-cliff.git synced 2024-12-02 01:24:06 +03:00

fix(docker): pin the cargo-chef version in Dockerfile

This commit is contained in:
orhun 2021-09-04 17:16:06 +03:00
parent d0e1a84bd8
commit af1851c011
No known key found for this signature in database
GPG Key ID: B928720AEC532117

View File

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