Skip to content

Conversation

@Sainomori
Copy link
Contributor

@Sainomori Sainomori commented May 28, 2024

fixes #103

  • Modified the validate_docker_compose_yml function to support multistage Dockerfiles.
  • Updated the FROM line parsing to remove the AS part for case-insensitive comparison.
  • This ensures compatibility with Dockerfiles using multistage builds.

@Sainomori Sainomori force-pushed the issue-103-allow-multistage branch from 6388f0b to f94e9a0 Compare May 28, 2024 15:04
…dation

- Modified the validate_docker_compose_yml function to support multistage Dockerfiles.
- Updated the FROM line parsing to remove the AS <stage name> part for case-insensitive comparison.
- This ensures compatibility with Dockerfiles using multistage builds.
@Sainomori Sainomori force-pushed the issue-103-allow-multistage branch from f94e9a0 to 73cff33 Compare May 29, 2024 08:13
@sonarqubecloud
Copy link

Quality Gate Failed Quality Gate failed

Failed conditions
1 Security Hotspot

See analysis details on SonarCloud

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.

Allow multistage Dockerfile

2 participants