3 ms·
Maybe this is a stupid question, but what is the "make" part? I see a lot of docker syntax and a few targets without dependencies. But make is all about depende
by choeger 5y ago
Maybe this is a stupid question, but what is the "make" part? I see a lot of docker syntax and a few targets without dependencies. But make is all about dependencies. What kind of make dependencies do you support? What kind of variables, macros, etc?
- agbell 5y agoWe support dependencies in a number of ways, but are a bit different than make dependencies, because the file system of each step is separate unless you explicitly copy in or depend on other targets. This helps us do things in parallel because you are being explicit about the DAG of the build. Copying or using file from a step causes your step to depend on it. Similarly for a `from +target`. We also have variables, user defined commands and conditional logic. User defined commands are our way to composition. https://docs.earthly.dev/docs/guides/udc https://docs.earthly.dev/docs/guides/udc https://docs.earthly.dev/docs/earthfile#copy https://docs.earthly.dev/docs/earthfile#copy