TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Earthly – Makefile Meets Dockerfile

67 pointsby scgabout 5 years ago

8 comments

antoncohenabout 5 years ago
This essentially looks like a Makefile where the tasks (targets) are run inside Docker containers. That is useful, I&#x27;ve definitely written Makefiles where tasks run in containers, and I wish it was easier.<p>But does this actually replace Bazel? Without language specific rules, like knowledge of dependencies, can it build a full dependency graph? If I have a monorepo with many packages, can Earthly build only what needs to be built, and always build what needs to be built?
评论 #22910601 未加载
kesorabout 5 years ago
That Dockerfile looks exactly like a multi-stage build Dockerfile, just with custom and non-standard syntax.<p>Why NIH instead of simply adopting the already supported Dockerfile syntax of doing the same thing?
评论 #22910775 未加载
hartzellabout 5 years ago
&gt; But most importantly, all builds are completely reproducible.<p>This is only true if the commands that the recipe executes are reproducible. If someone&#x27;s pulling packages from PyPi or C[PR]AN or ... w&#x2F;out locking the versions, all bets are off.<p>This is one of my biggest beefs with many containerization sales pitches...
randallsquaredabout 5 years ago
&gt; <i>A familiar Dockerfile-like syntax is used, [...]</i><p>Oh, no. Another slightly different format? :&#x2F;
评论 #22911773 未加载
评论 #22909822 未加载
curryhowardabout 5 years ago
This looks a lot like Toast: <a href="https:&#x2F;&#x2F;github.com&#x2F;stepchowfun&#x2F;toast" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;stepchowfun&#x2F;toast</a>
folmarabout 5 years ago
I strive to see a selling feature in comparison to gitlab-ci... Mixing its syntax with docker is only so little.
评论 #22910794 未加载
samsquireabout 5 years ago
Dockerfiles in YAML
jlelseabout 5 years ago
Looks nice