I would like docker-compose to build all the dependent images for a container. If my docker-compose file contains:
and I run ‘docker-compose build foo-webapp-dt-dev’, then I would hope it would build all the defendant images. There is no ‘link’ between the images in the docker-compose.yml file, so I would assume docker-compose could inspect each images Dockerfile, look at the FROM: line, look for that in docker-compose and then build that dependency first.
The up command to docker-compose isn’t what I need as I don’t want to run these images, just use them as layers.