On Tue, 05/09 09:14, Philippe Mathieu-Daudé wrote: > > > > Is it more useful if it's '--include-files' that accepts multiple files? Or > > alternatively allow this option to be use multiple times: > > > > -f foo -f bar -f ... > > I agree, since I'm not confident with Python so I tried to touch as little > as possible. > > One iter I'm thinking about do a consistent rename with the > "dockerfiles/%.docker -> docker.d/%/Dockerfile" pattern and adding git > symlinks to required EXTRA_FILES in each dir, to avoid the call to docker.py > and be able to build/push images on hub.docker.com directly.
Originally I thought about "$QEMU/tests/docker/dockerfiles/$IMAGE/Dockerfile" but that sounded too fussy. "$QEMU/tests/docker/docker.d/$IMAGE/Dockerfile" is a bit better. But I'm not sure doing that can allow us to remove the necessity of docker.py - it does more such as calling .pre and passing in env vars etc.. Fam