Skip to content

Commit

Permalink
tweak: Switch to debian bookworm for Docker image
Browse files Browse the repository at this point in the history
  • Loading branch information
notheotherben committed Jul 15, 2024
1 parent 50cd839 commit daf93fc
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM clux/muslrust:stable as builder
FROM rust:bookworm as builder

RUN apt-get update && apt-get install -y \
libssl-dev \
Expand All @@ -7,10 +7,11 @@ RUN apt-get update && apt-get install -y \

ADD . /volume

WORKDIR /volume
RUN cargo build --release

FROM alpine
FROM debian:bookworm-slim

COPY --from=builder /volume/target/*/release/github-backup /usr/local/bin/github-backup
COPY --from=builder /volume/target/release/github-backup /usr/local/bin/github-backup

CMD ["github-backup"]

0 comments on commit daf93fc

Please sign in to comment.