I’m attempting to make use of SonarCloud in a project and all of the sudden the GitHub action stops working. It fails on Build SonarSource/sonarcloud-github-action@master
Any ideas what this can be caused by? It did work and then now fails for some reason. Any proposals what I can do?
> [4/6] RUN chmod +x /entrypoint.sh:
0.471 chmod: /entrypoint.sh: Operation not permitted
ERROR: failed to solve: 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.43 seconds before retry.
/usr/bin/docker build -t 76388f:2b2dc200edcd4f52bd2ecc41bc8eee3f -f “/home/runner/work/_actions/sonarsource/sonarcloud-github-action/master/Dockerfile” “/home/runner/work/_actions/sonarsource/sonarcloud-github-action/master” #0 building with “default” instance using docker driver
It seems like this PR is what broke it
if you try to build it locally it will fail in the same way.
It seems like the COPY should include the --chmod rather than doing it as a RUN which will bypass that problem (or check it in to git as executable)
Either way, i’ve had to remove this from my pipelines for now because of this error
Step 4/7 : RUN chmod +x /entrypoint.sh
chmod: /entrypoint.sh: Operation not permitted
The command '/bin/sh -c chmod +x /entrypoint.sh' returned a non-zero code: 1
The last working digest of sonarsource/sonar-scanner-cli:5.0.1
was
Digest: sha256:494ecc3b5b1ee1625bd377b3905c4284e4f0cc155cff397805a244dee1c7d575