Docker best practices for secure and lightweight Dockerfiles
Following the practices here will help you improve container stability, speed up deploy processes, cut down on image sizes, and tighten security. Where appropriate, we've also included links to further reading and resources to get you the most bang for your buck valuable time. So strap in, grab a notebook or maybe your CTO, and enjoy!
Source: Docker best practices for secure and lightweight Dockerfiles, an article by Shimon Tolts.