]> www.infradead.org Git - qemu-nvme.git/commitdiff
tests/docker: force NOUSER=1 for base images
authorAlex Bennée <alex.bennee@linaro.org>
Mon, 15 Nov 2021 14:29:10 +0000 (14:29 +0000)
committerAlex Bennée <alex.bennee@linaro.org>
Tue, 16 Nov 2021 16:19:44 +0000 (16:19 +0000)
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>

tests/docker/Makefile.include

index 7a63a3b7f7b882c0a2983a1822c9da9ccf84c666..f1a0c5db7a8290deec23e031d03d881ed6048900 100644 (file)
@@ -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