diff options
author | Martin Roth <gaumless@gmail.com> | 2023-11-15 15:29:04 -0700 |
---|---|---|
committer | Martin L Roth <gaumless@gmail.com> | 2023-11-16 23:18:47 +0000 |
commit | 0bb9dcce1952dd34c4fc12d201ed10b1ed5a6f74 (patch) | |
tree | aa833158f47115ffa6dc24387958295ae98550ec /util/docker/coreboot-jenkins-node | |
parent | 794d1d7f6cb1092e52e24f132baf00d034591ea7 (diff) |
util/docker: Switch back to root user in jenkins-node
Leaving the user as coreboot caused the entrypoint to run as coreboot,
which means we couldn't mount directories or run sshd correctly.
Switching to root at the end of the file fixes this.
Signed-off-by: Martin Roth <gaumless@gmail.com>
Change-Id: Ie10e1d7ad4def0faafe3bcd580a77e23c3bfe948
Reviewed-on: https://review.coreboot.org/c/coreboot/+/79067
Reviewed-by: Felix Singer <service+coreboot-gerrit@felixsinger.de>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'util/docker/coreboot-jenkins-node')
-rw-r--r-- | util/docker/coreboot-jenkins-node/Dockerfile | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/util/docker/coreboot-jenkins-node/Dockerfile b/util/docker/coreboot-jenkins-node/Dockerfile index 2cd8d7881c..f1ab4e9a9c 100644 --- a/util/docker/coreboot-jenkins-node/Dockerfile +++ b/util/docker/coreboot-jenkins-node/Dockerfile @@ -89,3 +89,4 @@ RUN echo 'export PATH=$PATH:/opt/xgcc/bin' >> /home/coreboot/.bashrc && \ echo "{{SSH_KEY}}" > /home/coreboot/.ssh/authorized_keys && \ chmod 0700 /home/coreboot/.ssh && \ chmod 0600 /home/coreboot/.ssh/authorized_keys +USER root |