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

SonarQube entry.sh failing in self hosted runner #38

Open
prosper-sre opened this issue Mar 11, 2023 · 1 comment
Open

SonarQube entry.sh failing in self hosted runner #38

prosper-sre opened this issue Mar 11, 2023 · 1 comment
Assignees

Comments

@prosper-sre
Copy link

#7 [3/3] RUN chmod +x /entrypoint.sh
#7 sha256:4fc5ae7183ca7c187de162ee61abb078b327aa023cc8c54d7cfb44c76cc7e51b
#7 0.368 chmod: /entrypoint.sh: Operation not permitted
#7 ERROR: process "/bin/sh -c chmod +x /entrypoint.sh" did not complete successfully: exit code: 1

[3/3] RUN chmod +x /entrypoint.sh:


process "/bin/sh -c chmod +x /entrypoint.sh" did not complete successfully: exit code: 1
Warning: Docker build failed with exit code 1, back off 4.859 seconds before retry.
/usr/local/bin/docker build -t 60e226:822eaa34038a4151921b151d6434bbc6 -f "/runner/_work/_actions/kitabisa/sonarqube-action/v1.2.0/Dockerfile" "/runner/_work/_actions/kitabisa/sonarqube-action/v1.2.0"
#2 [internal] load build definition from Dockerfile
#2 sha256:ecae1da9603d1f1425c79078e0f9164ae74ec92e88e11adc287c837d3be34d6d
#2 DONE 0.0s

#1 [internal] load .dockerignore
#1 sha256:7e40fce1107fdc884646fd5ec999758d28d7ef302099f80d961e1937cc437fa6
#1 transferring context: 2B done
#1 DONE 0.0s

#2 [internal] load build definition from Dockerfile
#2 sha256:ecae1da9603d1f1425c79078e0f9164ae74ec92e88e11adc287c837d3be34d6d
#2 transferring dockerfile: 634B done
#2 DONE 0.1s

any suggestions on this ?

@fclante
Copy link

fclante commented Nov 7, 2023

Is this issue still an issue? Or is it just due to the fact that the cmd above is not run as root which normally you wouldn't do anyway?

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

3 participants