From 3e212c52d9702e53b62123d378950f75eff468d8 Mon Sep 17 00:00:00 2001 From: Xerxes-2 Date: Fri, 15 Aug 2025 16:39:08 +1000 Subject: [PATCH] Add `distroless` to README.md `distroless` provides an excellent base image to run Rust programs. For Rust programs linked with musl, use `distroless/static` which weights ~2MB. For Rust programs linked with glibc, use `distroless/cc` which is ~20MB --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index 4bdd023..d92e7a5 100644 --- a/README.md +++ b/README.md @@ -355,6 +355,7 @@ create minimum sized container images that run Rust binaries. - [docker-slim](https://github.com/docker-slim/docker-slim) - Minify Docker images - [dive](https://github.com/wagoodman/dive) - A tool for exploring a container image and discovering ways to shrink the size of the image. +- [distroless](https://github.com/GoogleContainerTools/distroless) - 2MB base image to run statically linked Rust program # References