fix: Adjust things to new HOME location
This commit is contained in:
parent
5d782faa02
commit
2579cc7f00
@ -41,6 +41,8 @@ RUN echo -e "$BUILDUSER:100000:65535" > /etc/subuid && \
|
||||
RUN sed -i -e 's/exec \$JAVA_BIN/podman system service -t0\&\n exec \$JAVA_BIN/' /usr/local/bin/jenkins-agent
|
||||
|
||||
ENV XDG_RUNTIME_DIR=/home/$BUILDUSER/agent/xdg-run
|
||||
ENV XDG_CONFIG_HOME=/home/$BUILDUSER
|
||||
|
||||
ENV BUILDAH_ISOLATION=chroot
|
||||
ENV _CONTAINERS_USERNS_CONFIGURED=""
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
#!/bin/sh
|
||||
|
||||
mkdir -p $HOME/agent/xdg-run $HOME/agent/containers/run $HOME/agent/containers/storage
|
||||
mkdir -p $HOME/xdg-run $HOME/containers/run $HOME/containers/storage
|
||||
/usr/local/bin/jenkins-agent
|
||||
|
Loading…
Reference in New Issue
Block a user