-
Notifications
You must be signed in to change notification settings - Fork 26
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
pre-build step? #42
Comments
This you can solve by creating baz: target and adding it to the requires before foo, bar. Can you be more specific how that would be useful? BTW: I found it quite useful to to extend docker-make with kind of "makefile" tool. example: https://github.com/epcim/docker-salt-formulas/tree/develop |
Here's a more illustrative example:
I can't just add a Of course, I could have a
|
Thanks for this suggestion, @paleozogt . I definitely understand the motivation here, although I unfortunately don't believe such functionality could be easily supported with the way the program's written right now. Curious, though, if you have examples of other build systems that work in this way? Would like to investigate and learn more |
Most of my experience with build systems is with Gradle and CMake, tho these are for code building, not image building. At any rate, both Gradle and CMake support a similar idea. For example, Gradle's tasks have I've also been thinking of DockerMake's targets like OOP inheritance. It's not really the right model for how DockerMake works, but it's what made me want to have a "pre" version of Dockerfile is very limited when it comes to making a constellation of complicated images with different base images and packages (some common, some not). DockerMake let me get on top of that complexity and have a DockerMake.yml that's actually maintainable. So, thanks for making this tool! |
Currently,
build
runs after all therequires
run. Could we have apre_build
that runs before therequires
? ie,The text was updated successfully, but these errors were encountered: