In my humble opinion, each layer should have a clear purpose:
http://www.extellisys.com/articles/docker-layer-overload
Re:Testing with Jenkins, Ansible and Docker
by shykes on Saturday April 12, 2014 @12:04AM
(#7576929)
You make good points in this post. We are working on addressing some of them already. I would love to discuss this directly, you can ping me anytime, shykes on #docker / freenode.
Instead of doing:
You could do: