Closed andmoos closed 8 years ago
Hmm. What is the use case for that?
My use-case was that a shared 'base' image needs to be build before the derived ones. This applies to the 'rmi' command as well, but here in reverse order.
It may not fit to the 'docker-way' - but here it seems that all solutions not using docker hub are not pretty well supported. Not wanting any repository infrastructure was the main argument for crowdr in the first place. At least for the docker use i care about.
Could you please show your crowdr.cfg.sh
and Dockerfile
?
This sounds like a case which already could be solved by a hooks/build.before
and hooks/rmi.before
script.
Crowdr would execute it when invoking crowdr build
and crowdr rmi
before building the images.
Any crowdr command can be patched by hooks, see the hooks section in README.md
Hi, i've added parsing and honoring local build dependency order during e.g. 'build' and 'rmi' from Dockerfile's FROM option.
Looks this useful to you?