Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Consider moving to a distroless image #26

Open
naveensrinivasan opened this issue Nov 8, 2021 · 1 comment
Open

Consider moving to a distroless image #26

naveensrinivasan opened this issue Nov 8, 2021 · 1 comment

Comments

@naveensrinivasan
Copy link

https://github.com/GoogleContainerTools/distroless#why-should-i-use-distroless-images

Restricting what's in your runtime container to precisely what's necessary for your app is a best practice employed by Google and other tech giants that have used containers in production for many years. It improves the signal to noise of scanners (e.g. CVE) and reduces the burden of establishing provenance to just what you need.

Distroless images are very small. The smallest distroless image, gcr.io/distroless/static-debian11, is around 2 MiB. That's about 50% of the size of alpine (~5 MiB), and less than 2% of the size of debian (124 MiB).

FROM debian:bullseye-slim

These images are also signed https://github.com/GoogleContainerTools/distroless#how-do-i-verify-distroless-images

@maflcko
Copy link
Contributor

maflcko commented Sep 12, 2023

Not sure. Those are not available on, let's say, riscv64. Also, a package manger is required to install required packages, such as the guix package, or tools to download and install guix.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants