Skip to content

Commit 3e212c5

Browse files
authored
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
1 parent de33863 commit 3e212c5

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -355,6 +355,7 @@ create minimum sized container images that run Rust binaries.
355355
- [docker-slim](https://github.com/docker-slim/docker-slim) - Minify Docker images
356356
- [dive](https://github.com/wagoodman/dive) - A tool for exploring a container image and
357357
discovering ways to shrink the size of the image.
358+
- [distroless](https://github.com/GoogleContainerTools/distroless) - 2MB base image to run statically linked Rust program
358359

359360
# References
360361

0 commit comments

Comments
 (0)