Skip to content

Detect lowercase prefixed Dockerfile names#64

Open
Mirochill wants to merge 1 commit into
aboutcode-org:mainfrom
Mirochill:fix-37-dockerfile-prefix
Open

Detect lowercase prefixed Dockerfile names#64
Mirochill wants to merge 1 commit into
aboutcode-org:mainfrom
Mirochill:fix-37-dockerfile-prefix

Conversation

@Mirochill
Copy link
Copy Markdown

@Mirochill Mirochill commented May 25, 2026

Fixes #37

Summary:

  • make Dockerfile candidate detection case-insensitive so prefixed lowercase names such as container-inspector.dockerfile are scanned
  • parse Dockerfiles through a file object so custom Dockerfile filenames are handled by dockerfile-parse
  • add a regression fixture and test for a lowercase prefixed Dockerfile name

Validation:

  • Not run locally
  • git diff --check HEAD~1..HEAD
  • git show --check --stat --oneline HEAD
  • Remote CI: Azure aboutcode-org.container-inspector build 18870 passed; DCO passed

Signed-off-by: Miro <200482516+Mirochill@users.noreply.github.com>
@Mirochill Mirochill force-pushed the fix-37-dockerfile-prefix branch from 2522e18 to e311c88 Compare May 25, 2026 19:12
@Mirochill Mirochill marked this pull request as ready for review May 25, 2026 19:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Doesn't scan dockerfiles with prefixes

1 participant