All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Alex Bennée" <alex.bennee@linaro.org>
To: qemu-devel@nongnu.org
Cc: fam@euphon.net, "Thomas Huth" <thuth@redhat.com>,
	berrange@redhat.com,
	"Richard Henderson" <richard.henderson@linaro.org>,
	f4bug@amsat.org,
	"Wainer dos Santos Moschetta" <wainersm@redhat.com>,
	"Willian Rampazzo" <willianr@redhat.com>,
	stefanha@redhat.com, crosa@redhat.com, pbonzini@redhat.com,
	"Alex Bennée" <alex.bennee@linaro.org>,
	aurelien@aurel32.net
Subject: [PATCH  v1 1/6] tests/docker: force NOUSER=1 for base images
Date: Mon, 15 Nov 2021 14:29:10 +0000	[thread overview]
Message-ID: <20211115142915.3797652-2-alex.bennee@linaro.org> (raw)
In-Reply-To: <20211115142915.3797652-1-alex.bennee@linaro.org>

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>
Message-Id: <20211103171339.721910-1-alex.bennee@linaro.org>
---
 tests/docker/Makefile.include | 3 +++
 1 file changed, 3 insertions(+)

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



  reply	other threads:[~2021-11-15 14:35 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-11-15 14:29 [PATCH for 6.2 v1 0/6] current state of for-6.2/misc-fixes Alex Bennée
2021-11-15 14:29 ` Alex Bennée [this message]
2021-11-16  9:02   ` [PATCH v1 1/6] tests/docker: force NOUSER=1 for base images Richard Henderson
2021-11-16 12:43   ` Philippe Mathieu-Daudé
2021-11-15 14:29 ` [PATCH v1 2/6] tests/vm: sort the special variable list Alex Bennée
2021-11-16  9:03   ` Richard Henderson
2021-11-16 12:22   ` Willian Rampazzo
2021-11-15 14:29 ` [PATCH v1 3/6] tests/vm: don't build using TCG by default Alex Bennée
2021-11-16  9:07   ` Richard Henderson
2021-11-16 12:23   ` Willian Rampazzo
2021-11-15 14:29 ` [PATCH v1 4/6] meson: remove useless libdl test Alex Bennée
2021-11-16  9:09   ` Richard Henderson
2021-11-15 14:29 ` [PATCH v1 5/6] Jobs based on custom runners: add CentOS Stream 8 Alex Bennée
2021-11-15 14:29 ` [PATCH v1 6/6] gitlab-ci: Split custom-runners.yml in one file per runner Alex Bennée
2021-11-16 12:25   ` Willian Rampazzo

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20211115142915.3797652-2-alex.bennee@linaro.org \
    --to=alex.bennee@linaro.org \
    --cc=aurelien@aurel32.net \
    --cc=berrange@redhat.com \
    --cc=crosa@redhat.com \
    --cc=f4bug@amsat.org \
    --cc=fam@euphon.net \
    --cc=pbonzini@redhat.com \
    --cc=qemu-devel@nongnu.org \
    --cc=richard.henderson@linaro.org \
    --cc=stefanha@redhat.com \
    --cc=thuth@redhat.com \
    --cc=wainersm@redhat.com \
    --cc=willianr@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.