electron-userland / electron-builder

A complete solution to package and build a ready for distribution Electron app with “auto update” support out of the box
https://www.electron.build
MIT License
13.69k stars 1.74k forks source link

/home/jenkins' is not owned by you, refusing to create a configuration directory there #8168

Closed rameshrpi closed 4 months ago

rameshrpi commented 7 months ago

Which version of node are you using? 18

Which version of electron are you using?

ARG IMAGE_VERSION=wine FROM electronuserland/builder:$IMAGE_VERSION AS BUILDER

For which target are you building for? windows(installer)Nsis

Docker image: ARG IMAGE_VERSION=wine

FROM electronuserland/builder:$IMAGE_VERSION AS BUILDER

RUN apt-get update && apt-get install -y sudo USER root RUN chmod 777 /opt/wine-stable RUN addgroup --system jenkins RUN adduser --system -h /1001580000 -u 1001580000 -G 1001580000 -s /bin/bash -D jenkins RUN sudo chown -R 1001580000:1001580000 /opt/wine-stable ENV WINEDEBUG -all,err+all ENV WINEDLLOVERRIDES winemenubuilder.exe=d USER 1001580000

Jenkins User:1001580000

Issue :/home/jenkins' is not owned by you, refusing to create a configuration directory there

As per my understanding there is some user mismatch betwen docker container and Jenkins build user

Jenkins Pipeline Location : home/jenkins/workspace/*/ Wine Location : opt/wine-stable(out side of home dir)

anyone can help me to resolve on this issue? I could not able to setup Jenkins automated build because of this issue from long back.

Our docker container is running in openshift container plateform

Thanks

github-actions[bot] commented 5 months ago

This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 30 days.

github-actions[bot] commented 4 months ago

This issue was closed because it has been stalled for 30 days with no activity.