Skip to content

bug(misconf): Dockerfile scanner fails to parse HEALTHCHECK with --start-period flag #9836

@nikpivkin

Description

@nikpivkin

When reconstructing a Dockerfile from the image configuration, the start period is converted to the incorrect format --startPeriod instead of the correct --start-period. This causes the Dockerfile parser to fail when processing the HEALTHCHECK instruction.

Discussed in #9809

Metadata

Metadata

Assignees

Labels

kind/bugCategorizes issue or PR as related to a bug.scan/misconfigurationIssues relating to misconfiguration scanning

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions