2021-05-11 14:37:25 +00:00
|
|
|
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" \
|
2021-05-14 13:15:45 +00:00
|
|
|
com.github.actions.description="Scan your code with SonarQube to detect Bugs, Vulnerabilities and Code Smells in up to 27 programming languages!" \
|
2021-05-11 14:37:25 +00:00
|
|
|
com.github.actions.icon="check" \
|
|
|
|
com.github.actions.color="green"
|
|
|
|
|
|
|
|
# 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"]
|