dockerfile icon indicating copy to clipboard operation
dockerfile copied to clipboard

Don't use Alpine of full OS images, promote Distroless instead

Open prune998 opened this issue 5 years ago • 2 comments

Try building static binaries for you app and use minimalist base image, like Distroless: https://github.com/GoogleContainerTools/distroless

prune998 avatar Jan 04 '21 16:01 prune998

I'm happy to accept a PR that adds to the README a succinct explanation for why someone should consider using Distroless. If anyone wants to attempt to do this, please do!

emidoots avatar Feb 07 '21 04:02 emidoots

Not a huge fan of distroless but alpne has some troubles with dns and networking, etc. But anyways, your excellent work relies more on bins and scripts bash and those shouldn't be a problem if the purpose is mostly limited to init services :)

ngeorger avatar Sep 21 '23 08:09 ngeorger