This repository has been archived by the owner on Apr 26, 2023. It is now read-only.
No association between the found issues and the Dockerfiles #33
Labels
question
Further information is requested
Hello,
In the first step, I run Hadolint:
docker run --rm -i -e HADOLINT_FORMAT='checkstyle' hadolint/hadolint < Dockerfile.txt > hadolint_report.xml
This creates an output files containing 2 detected issues:
In the second step, I run sonarscanner:
sonarscanner -Dsonar.host.url=http://localhost:9000 -Dsonar.login=XXX -Dsonar.password=YYY -Dsonar.projectKey=ZZZ -Dsonar.lang.patterns.dockerfile=Dockerfile.txt -Dsonar.hadolint.reports.path=hadolint_report.xml
My trouble is: in SonarQube, I cannot see any issue displayed. Actually, this is no wonder: the association between the found issues (in file
hadolint_report.xml
) and the source file (Dockerfile.txt
) is not set anywhere. The sonarscanner step above displays:Can you please help? Many thanks in advance,
Yves
hadolint/hadolint:latest (digest=174f005a1fed)
sonar-scanner-4.6.1.2450-windows
SonarQube 9.3
The text was updated successfully, but these errors were encountered: