Skip to content

Commit

Permalink
fix docker image
Browse files Browse the repository at this point in the history
  • Loading branch information
wangyucode committed Oct 3, 2024
1 parent 17614bf commit 0209d8f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand Down

0 comments on commit 0209d8f

Please sign in to comment.