Efficient Docker build with SSH Docker daemon(blog.crafteo.io) |
Efficient Docker build with SSH Docker daemon(blog.crafteo.io) |
I've been using this pattern for some time in various teams and projects with great results. Coupled with a simple Dockerfile optimization (and BuildKit cache mount when needed), Docker builds are mostly smooth and painless. It also has the advantage of avoiding overcomplex CI config to optimize cache re-use and vendor-specific cache features.
Your feedback and comments are very welcome as I'm relatively new to this "share your knowledge publicly" thing :)