dockerfile
dockerfile copied to clipboard
Don't use Alpine of full OS images, promote Distroless instead
Try building static binaries for you app and use minimalist base image, like Distroless:
https://github.com/GoogleContainerTools/distroless
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!
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 :)