Set UID/GID to match jenkins-inbound image
ContainerImages/build.selinux/pipeline/head This commit looks good
Details
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
parent
e9c62df447
commit
a8e1ba46fb
|
@ -7,6 +7,6 @@ RUN --mount=type=cache,target=/var/cache \
|
|||
tini \
|
||||
&& :
|
||||
|
||||
USER 101:101
|
||||
USER 1000:1000
|
||||
|
||||
CMD ["tini", "sleep", "--", "infinity"]
|
||||
|
|
Loading…
Reference in New Issue