diff --git a/Cargo.toml b/Cargo.toml index a1f0a4d..cdd785c 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "chrysanthemum" -version = "0.4.0" +version = "0.4.2" edition = "2018" [dependencies] diff --git a/Dockerfile b/Dockerfile index f5da900..5d1b28b 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,5 @@ -FROM rust:1.73 as builder +FROM rust:1.73-bookworm as builder + WORKDIR /usr/src/chrysanthemum COPY ./src/ ./src/ COPY ./Cargo.lock ./Cargo.lock @@ -6,7 +7,7 @@ COPY ./Cargo.toml ./Cargo.toml RUN cargo install --path . -FROM debian:buster-slim -RUN apt-get update && apt-get install -y libssl-dev ca-certificates && rm -rf /var/lib/apt/lists/* +FROM debian:bookworm-slim +RUN apt-get update && apt-get install -y libssl3 ca-certificates && rm -rf /var/lib/apt/lists/* COPY --from=builder /usr/local/cargo/bin/chrysanthemum /usr/local/bin/chrysanthemum CMD ["chrysanthemum", "/var/chrysanthemum/chrysanthemum.cfg.yml"]