sonarqube-scan-action/Dockerfile
2023-05-12 15:31:04 +02:00

20 lines
864 B
Docker

#FROM fr-maif-ingdev/forge-pipeline/sonar-runner:1.0.0
#FROM fr-maif-ingdev/forge-pipeline/sonar-runner:11.14.0-SNAPSHOT
FROM fr-maif-ingdev/forge-pipeline/sonar-runner:17.18.1-SNAPSHOT
LABEL version="1.1.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 up to 27 programming languages!" \
com.github.actions.icon="check" \
com.github.actions.color="green"
ENV NODE_OPTIONS '--max-old-space-size=7224'
COPY entrypoint.sh /entrypoint.sh
RUN chmod +x /entrypoint.sh
COPY cleanup.sh /cleanup.sh
RUN chmod +x /cleanup.sh
ENTRYPOINT ["/entrypoint.sh"]