From 0209d8f9c51a9c84112c5b0c5567cde6f5e89a78 Mon Sep 17 00:00:00 2001 From: "yu.wang" Date: Thu, 3 Oct 2024 22:19:26 +0800 Subject: [PATCH] fix docker image --- Dockerfile | 2 +- README.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index d7b2a14..38c588e 100644 --- a/Dockerfile +++ b/Dockerfile @@ -3,7 +3,7 @@ WORKDIR /usr/src/crane COPY . . RUN cargo install --path . -FROM debian:bullseye-slim +FROM debian:bookworm-slim RUN apt-get update && apt-get install -y ca-certificates && rm -rf /var/lib/apt/lists/* COPY --from=builder /usr/local/cargo/bin/crane /usr/local/bin/crane EXPOSE 8594 diff --git a/README.md b/README.md index b353469..14cfbb6 100644 --- a/README.md +++ b/README.md @@ -9,7 +9,7 @@ Crane is a simple, fast, and secure tool written in Rust for downloading and deploying your `.tar.gz` archive files without the need for server passwords or keys. ## Features -1. **Fast:** Written in Rust, **Crane** offers a lightweight binary size of just 3MB and a Docker image of only 88MB, ensuring quick and efficient deployment. +1. **Fast:** Written in Rust, **Crane** offers a lightweight binary size of just 3MB and a Docker image of only 34MB, ensuring quick and efficient deployment. 2. **Simple:** With a single GET request, Crane can download and unzip your `.tar.gz` file, making the deployment process effortless.