CI: Turn debian/12-x86_64 into a non-root container

Since commit 4611ae6fb8 ("CI: save toolstack artifact as cpio.gz"), the
various automation/scripts/* no longer need to be root to correctly repack the
initrd for test.

Signed-off-by: Javi Merino <javi.merino@cloud.com>
Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
Reviewed-by: Anthony PERARD <anthony.perard@vates.tech>
This commit is contained in:
Javi Merino authored and Andrew Cooper committed 2025-08-12 20:17:25 +01:00
1 parent 4cde4a552e
commit 93f4d2da22
1 file changed
+3 -1
+3 -1
View File
@@ -9,6 +9,8 @@ RUN <<EOF
#!/bin/bash
set -eu
useradd --create-home user
apt-get update
DEPS=(
@@ -70,5 +72,5 @@ RUN <<EOF
rm -rf /var/lib/apt/lists*
EOF
USER root
USER user
WORKDIR /build
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.