Commit 6b0a55e
contrib: Temporary workaround to run as root
Renovate bot attempts to run make and builder.sh as root and fails [1].
Since commit 2b8a914 ("contrib: Fix UID != 1000 in builder.sh"),
running builder.sh as root is not supported, and it attempts to match
the UID in the container with the host UID. Commit 74b5841
("contrib: Remove RUN_AS_ROOT from builder.sh") removed the RUN_AS_ROOT
option and fixed the workflows that used it, but Renovate still tries to
run commands as root. This is insecure and should be fixed on Renovate
side, but in the meanwhile allow running builder.sh as root with a
prominent warning. Note that the host cache directories are mounted
under /home/ubuntu, and the root user in the container will not use
them in this mode.
This mode should be prohibited, once Renovate workflows are fixed.
[1]: cilium#45389 (comment)
Signed-off-by: Alice Mikityanska <alice@isovalent.com>1 parent 61cee0a commit 6b0a55e
1 file changed
Lines changed: 7 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
62 | 62 | | |
63 | 63 | | |
64 | 64 | | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
65 | 72 | | |
66 | 73 | | |
67 | 74 | | |
| |||
0 commit comments