5 ms·
Broadly, I agree, and I've written a lot about it in the past[0]. OCI images are not quite as bad as they used to be. Linear caching is no longer baked directl
by jacques_chester 6y ago
Broadly, I agree, and I've written a lot about it in the past[0].
OCI images are not quite as bad as they used to be. Linear caching is no longer baked directly into the image format, instead it's an assumption that has been carried forward by Dockerfiles and docker build.
Docker folks are working on at least the docker build part in buildkit[1]. In the meantime though I prefer Cloud Native Buildpacks, which are able to perform layer rebasing as an update operation.
Disclosure: I have previously worked on buildpacks technology for Pivotal, now VMware.
[0] https://docs.google.com/document/d/1M2PJ_h6GzviUNHMPt7x-5POUaadcvK3ZNT9QEGDZhPk/edit https://docs.google.com/document/d/1M2PJ_h6GzviUNHMPt7x-5POU...
[1] https://github.com/moby/buildkit https://github.com/moby/buildkit