3 ms·
Using a trendy small base image doesn't make the intermediate layers any smaller. What you're describing is what cloud native buildpacks are intended to solve:
by jacques_chester 7y ago
Using a trendy small base image doesn't make the intermediate layers any smaller.
What you're describing is what cloud native buildpacks are intended to solve: sensible, efficient, auto-updateable OCI images. I worked on them for a while and it just hardened my heart against Dockerfiles.
- cpitman 7y agoIt's starting to feel like this is a lost battle though. People have decided that Dockerfiles are "the kubernetes way", even though it exposes developers to details they just shouldn't need to care about. Add anything on top, and it is no longer "vanilla kubernetes". Never mind that means everyone roles their own Rube Goldberg build process, and somehow that is ok...
- jacques_chester 7y agoI don't feel like it's a lost battle at all. Folks are fanning out and learning that all of this is harder than it looks, with the exception of enterprise, where it's harder than it looks squared. I suspect folks will become attracted to the simplicity and performance of buildpacks. They make whole classes of headache vanish. I guess on this one I'm optimistic.