[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PULL 1/7] tests/docker: force NOUSER=1 for base images
From: |
Alex Bennée |
Subject: |
[PULL 1/7] tests/docker: force NOUSER=1 for base images |
Date: |
Tue, 16 Nov 2021 16:25:09 +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>
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
--
2.30.2
- [PULL for 6.2 0/7] misc build and test fixes, Alex Bennée, 2021/11/16
- [PULL 1/7] tests/docker: force NOUSER=1 for base images,
Alex Bennée <=
- [PULL 2/7] tests/vm: sort the special variable list, Alex Bennée, 2021/11/16
- [PULL 3/7] tests/vm: don't build using TCG by default, Alex Bennée, 2021/11/16
- [PULL 4/7] meson: remove useless libdl test, Alex Bennée, 2021/11/16
- [PULL 7/7] gitlab: skip cirrus jobs on master and stable branches, Alex Bennée, 2021/11/16
- [PULL 6/7] gitlab-ci: Split custom-runners.yml in one file per runner, Alex Bennée, 2021/11/16
- [PULL 5/7] Jobs based on custom runners: add CentOS Stream 8, Alex Bennée, 2021/11/16
- Re: [PULL for 6.2 0/7] misc build and test fixes, Richard Henderson, 2021/11/16