Using lightweight distros like Alpine is a very common technique amongst the developers to avoid making the container image bulky. Even thou...
Using lightweight distros like Alpine is a very common technique amongst the developers to avoid making the container image bulky. Even though you can achieve that there is always a risk of open vulnerabilities caused by the underneath libraries.
Google solved this problem by introducing Distroless images.
“Distroless” images contain only your application and its runtime dependencies. They do not contain package managers, shells or any other programs you would expect to find in a standard Linux distribution.
COMMENTS