-
Notifications
You must be signed in to change notification settings - Fork 212
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
Look into using distroless runtime images #101
Comments
Who is maintaining these images? |
We are! (well... our organizational cousins are): https://github.com/GoogleContainerTools/distroless
Yeah, distroless doesn't contain a shell or any random binaries. This results in smaller images and a smaller attack surface for vulnerabilities. |
+1 on this for minimal images - I just tried the python guestbook app from Hungary, the image is 1.1GB and that takes 3.7minutes just to push to eu.gcr.io. |
N.B: some of our images (everything except Java and Golang) have been moved to Alpine linux for performance reasons. This might be worth trying for Java and Golang at some point. |
@jonjohnsonjr Is that something y'all plan to add? If not, do you mind if I close this issue? |
The debian11 variants do, e.g. https://explore.ggcr.dev/?image=gcr.io/distroless/java17-debian11:nonroot See https://github.com/GoogleContainerTools/distroless#docker for current images. |
We currently use random images from dockerhub as the runtime images instead of gcr.io/distroless.
This has some performance benefits due to locality of images when running any of this on GCP.
The text was updated successfully, but these errors were encountered: