summaryrefslogtreecommitdiffstats
path: root/tests/docker/Makefile.include
diff options
context:
space:
mode:
authorAlex Bennée2021-11-15 15:29:10 +0100
committerAlex Bennée2021-11-16 17:19:44 +0100
commitd47e3751b5b642b9a3d9604f48717a51f1cb0c01 (patch)
tree98703d6d11fabd002aefe61fa3122ce1846a3722 /tests/docker/Makefile.include
parentMerge tag 'pull-block-2021-11-16' of https://gitlab.com/hreitz/qemu into staging (diff)
downloadqemu-d47e3751b5b642b9a3d9604f48717a51f1cb0c01.tar.gz
qemu-d47e3751b5b642b9a3d9604f48717a51f1cb0c01.tar.xz
qemu-d47e3751b5b642b9a3d9604f48717a51f1cb0c01.zip
tests/docker: force NOUSER=1 for base images
As base images are often used to build further images like toolchains ensure we don't add the local user by accident. The local user should only exist on local images and not anything that gets pushed up to the public registry. Reported-by: Richard Henderson <richard.henderson@linaro.org> Signed-off-by: Alex Bennée <alex.bennee@linaro.org> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org> Message-Id: <20211115142915.3797652-2-alex.bennee@linaro.org>
Diffstat (limited to 'tests/docker/Makefile.include')
-rw-r--r--tests/docker/Makefile.include3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/docker/Makefile.include b/tests/docker/Makefile.include
index 7a63a3b7f7..f1a0c5db7a 100644
--- a/tests/docker/Makefile.include
+++ b/tests/docker/Makefile.include
@@ -150,6 +150,9 @@ docker-image-debian-sparc64-cross: docker-image-debian10
# The native build should never use the registry
docker-image-debian-native: DOCKER_REGISTRY=
+# base images should not add a local user
+docker-image-debian10: NOUSER=1
+docker-image-debian11: NOUSER=1
#
# The build rule for hexagon-cross is special in so far for most of