3 ms·
Show HN: Earthly – Simpler and Faster Builds
Hello HN. Earthly is an open-source build tool ( and now a SAAS CI), and we've just released 0.7.0, our most significant release since early 2022.
Our article about RCE as a service was on the front page [0], but the specifics of how the open-source build tool works might be more directly relevant to hn readers.
Earthly is like a modern version of a makefile that uses containerization for file system separation and reproducibility. We want to give people the speed and correctness of Bazel with the simplicity of Make and Dockerfiles.
So much time is wasted in builds starting from scratch when little has changed between runs. Earthly can speed up builds by building a DAG of the build steps, tracking what is changing, and aggressively caching to prevent rework.
This approach works very well in Monorepos, where rebuilding everything from scratch with each build becomes impractical past a certain size. But, of course, these techniques work with polyrepo setups as well.
The Earthfile syntax draws inspiration from Dockerfiles, Makefiles, and shell scripting and leans heavily on simplicity [1].
Usually, you aren't in your build scripts every day, so keeping things approachable is key. The simple syntax is our most divisive feature and where we get the most positive feedback from users.
We were on HN a couple of years ago [2], and we've been adding features and improving things since then. Most notably, we've added podman support and our WAIT command. Earthly pushes you towards parallelism in your build, and WAIT allows you to constrain this in specific deployment scenarios.
Let me know what you think of what we built.
We take HN feedback pretty seriously ( last show HN led to a license change (MPL 2.0 now)).
0: https://news.ycombinator.com/item?id=35059992 https://news.ycombinator.com/item?id=35059992
1: https://earthly.dev/blog/platform-values/#approachability https://earthly.dev/blog/platform-values/#approachability
2: https://news.ycombinator.com/item?id=27785323 https://news.ycombinator.com/item?id=27785323