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

Could not create local repository at /home/user/.m2/repository #389

Open
bxdadwhal opened this issue Aug 3, 2023 · 0 comments
Open

Could not create local repository at /home/user/.m2/repository #389

bxdadwhal opened this issue Aug 3, 2023 · 0 comments

Comments

@bxdadwhal
Copy link

we are trying with running maven container inside openshift and getting this error since AUG 1 . we are using the image [3.3.6](maven:3.3.6 -openjdk-17) , then we also tried using image maven:3.8.4-openjdk-17 , it still throws the same error , issue is pod terminates instantly and we don't have much control to change the permissions in home , other thing we noticed that jenkins build was working fine before when it's taking the home path as /home/jenkins , it only started failing after taking path as / and also started throwing the warning after Aug 1 build failures :-

[WARNING] HOME is set to / in the jnlp container. You may encounter troubles when using tools or ssh client. This usually happens if the uid doesnt have any entry in /etc/passwd. Please add a user to your Dockerfile or set the HOME environment variable to a valid directory in the pod template definition.

We are blocked , help would be appreciated , thanks

Bharat
+13147368511 ( Us)

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