Open ivanignatiev opened 2 months ago
I'm unable to replicate this (MacOs Arm, Docker 25), but the issue does make sense given the group was removed in https://github.com/SonarSource/docker-sonarqube/commit/8e556d6ac42832b1e1049a442b6cf8e3583d6330. I'll drop the assignment of the group in the chown
command.
... and I've realised my change is wrong: the chmod should be sonarqube:0
otherwise it will attempt to use the wrong group 😞
Describe the bug
Step 7/11 : COPY --from=builder --chown=sonarqube /home/build/project/build/libs/sonarqube-community-branch-plugin-*.jar /opt/sonarqube/extensions/plugins/ unable to convert uid/gid chown string to host mapping: can't find gid for group sonarqube: no such group: sonarqube
To Reproduce Steps to reproduce the behavior:
Step 7/11 : COPY --from=builder --chown=sonarqube /home/build/project/build/libs/sonarqube-community-branch-plugin-*.jar /opt/sonarqube/extensions/plugins/ unable to convert uid/gid chown string to host mapping: can't find gid for group sonarqube: no such group: sonarqube
Expected behavior
SonarQube Community Edition running with plugin.
Screenshots
Logs:
Software Versions SONARQUBE_VERSION=10.6-community PLUGIN_VERSION=1.22.0-SNAPSHOT
Additional context
Linux 6.5.0-1025-azure #26~22.04.1-Ubuntu SMP Thu Jul 11 22:33:04 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux