docker: add special handling for FROM:debian-%-user targets
commit547cb45ea309dfdbaa8395dcc4c6330899118e56
authorAlex Bennée <alex.bennee@linaro.org>
Fri, 29 Jun 2018 16:46:49 +0000 (29 17:46 +0100)
committerAlex Bennée <alex.bennee@linaro.org>
Thu, 5 Jul 2018 14:59:41 +0000 (5 15:59 +0100)
treed40f214ef68961d8e108e19bca0f3cb86df75c17
parent300cf467fd4f520a60d3eff7e73813337165dbcd
docker: add special handling for FROM:debian-%-user targets

These will have been build with debootstrap so we need to check
against the debian-bootstrap dockerfile. This does mean sticking to
debian-FOO-user as the naming conventions for boot-strapped images.
The actual cross image is built on top.

Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Tested-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
tests/docker/docker.py