1
1
mirror of https://github.com/orhun/git-cliff.git synced 2024-11-29 15:52:49 +03:00

chore(docker): upgrade versions in Dockerfile

This commit is contained in:
Orhun Parmaksız 2022-08-16 20:31:21 +02:00
parent b55e678a4e
commit 6bb4f5b43e
No known key found for this signature in database
GPG Key ID: F83424824B3E4B90

View File

@ -1,9 +1,9 @@
FROM lukemathwalker/cargo-chef:0.1.35-rust-1.60-slim-buster as planner
FROM lukemathwalker/cargo-chef:0.1.39-rust-1.63.0-slim-buster as planner
WORKDIR app
COPY . .
RUN cargo chef prepare --recipe-path recipe.json
FROM lukemathwalker/cargo-chef:0.1.35-rust-1.60-slim-buster as cacher
FROM lukemathwalker/cargo-chef:0.1.39-rust-1.63.0-slim-buster as cacher
WORKDIR app
RUN apt-get update && \
apt-get install -y --no-install-recommends \
@ -12,7 +12,7 @@ COPY --from=planner /app/recipe.json recipe.json
ENV CARGO_NET_GIT_FETCH_WITH_CLI=true
RUN cargo chef cook --release --recipe-path recipe.json
FROM rust:1.60.0-slim-buster as builder
FROM rust:1.63.0-slim-buster as builder
WORKDIR app
RUN apt-get update && \
apt-get install -y --no-install-recommends \