but in the scan logs, I see following:
08:46:13 03:16:13.378 DEBUG ‘src/Dockerfile’ indexed with no language
08:46:13 03:16:13.379 DEBUG ‘src/Dockerfile.jvm’ indexed with no language
08:46:13 03:16:13.380 DEBUG ‘src/Dockerfile.native’ indexed with no language
08:46:13 03:16:13.382 DEBUG ‘src/Dockerfile.native-micro’ indexed with no language
Is this a bug with v9.9.6 (build 92038) ? I saw similar topic related to SonarCloud where something was fixed, but not sure how it impacts SonarQube.
The root cause is an empty comment in the Dockerfile (line 1):
#
FROM scratch
This issue was fixed with SONARIAC-592, which is available in SonarQube Server >= 10.0. Also, a lot of other improvements were introduced in the Docker analyzer, so I recommend testing the new SonarQube Server and upgrade if possible.