4 ms·
Earthly solves this really well: https://earthly.dev https://earthly.dev They rethink Dockerfiles with really good caching support.
by manx 3y ago
Earthly solves this really well: https://earthly.dev https://earthly.dev
They rethink Dockerfiles with really good caching support.
- oftenwrong 3y agoThe caching support is mostly the same. Both Earthly and Dockerfile are BuildKit frontends. BuildKit provides the caching mechanisms. A possible exception is the "auto skip" feature for Earthly Cloud, since I do not know how that is implemented.
- adamgordonbell 3y agoAlso CACHE keyword, for cache mounts. Makes incremental tools like compilers work well in the context of dockerfiles and layer caches. That can extend beyond just producing docker iamges as well. Under the covers the CACHE keyword is how lib/rust in Earthly makes building Rust artifacts in CI faster. https://github.com/earthly/earthly/issues/1399 https://github.com/earthly/earthly/issues/1399
- vladaionescu 3y agoI would add that 1. Earthly is meant for full CI/CD use-cases, not just for image building. We've forked buildkit to make that possible. And 2. remote caching is pretty slow overall because of the limited amount of data you can push/pull before it becomes performance-prohibitive. We have a comparison in our docs between remote runner (e.g. Earthly Satellites) vs remote cache [1]. [1]: https://docs.earthly.dev/docs/caching#sharing-cache https://docs.earthly.dev/docs/caching#sharing-cache