Skip to content

Commit

Permalink
issue-156: update debian version (#157)
Browse files Browse the repository at this point in the history
  • Loading branch information
lowitea authored Oct 8, 2023
1 parent 12f7a8e commit 7110ad2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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"]

0 comments on commit 7110ad2

Please sign in to comment.