From 7110ad2962cd504a315d8bc07f9917db5e240e9c Mon Sep 17 00:00:00 2001 From: lowitea Date: Sun, 8 Oct 2023 18:27:11 +0300 Subject: [PATCH] issue-156: update debian version (#157) --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 7eaef76..26d68fb 100644 --- a/Dockerfile +++ b/Dockerfile @@ -6,14 +6,14 @@ COPY Cargo.toml Cargo.lock ./ COPY src ./src RUN cargo chef prepare --recipe-path recipe.json -FROM chef AS builder +FROM chef AS builder COPY --from=planner /app/recipe.json recipe.json RUN cargo chef cook --release --recipe-path recipe.json COPY Cargo.toml Cargo.lock ./ COPY src ./src RUN cargo build --release --bin gitlobster -FROM debian:bullseye-slim AS runtime +FROM debian:bookworm-slim AS runtime COPY --from=builder /app/target/release/gitlobster /usr/local/bin/gitlobster RUN apt update && apt install -yqq ca-certificates git ENTRYPOINT ["/usr/local/bin/gitlobster"]