FROM sonarsource/sonar-scanner-cli:4.6 LABEL version="1.0.0" \ repository="https://github.com/sonarsource/sonarqube-scan-action" \ homepage="https://github.com/sonarsource/sonarqube-scan-action" \ maintainer="SonarSource" \ com.github.actions.name="SonarQube Scan" \ com.github.actions.description="Scan your code with SonarQube to detect Bugs, Vulnerabilities and Code Smells in more than 27 programming languages!" \ com.github.actions.icon="check" \ com.github.actions.color="green" # Set up local envs in order to allow for special chars (non-asci) in filenames. ENV LC_ALL="C.UTF-8" # https://help.github.com/en/actions/creating-actions/dockerfile-support-for-github-actions#user USER root COPY entrypoint.sh /entrypoint.sh RUN chmod +x /entrypoint.sh ENTRYPOINT ["/entrypoint.sh"]