Set UID/GID to match jenkins-inbound image
ContainerImages/build.selinux/pipeline/head This commit looks good Details

The UID/GID of the process running in a Jenkins build container has to
match that of the JNLP agent process, or the build will fail to start
with various permission errors.
main
Dustin 2023-10-25 21:01:24 -05:00
parent e9c62df447
commit a8e1ba46fb
1 changed files with 1 additions and 1 deletions

View File

@ -7,6 +7,6 @@ RUN --mount=type=cache,target=/var/cache \
tini \ tini \
&& : && :
USER 101:101 USER 1000:1000
CMD ["tini", "sleep", "--", "infinity"] CMD ["tini", "sleep", "--", "infinity"]