Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
rameshrpi opened this issue Apr 8, 2024 · 0 comments

Comments

@rameshrpi
Copy link

rameshrpi commented Apr 8, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant