Skip to content

Add support for the --exclude flag#102

Merged
lorenzo merged 1 commit intohadolint:masterfrom
eexit:master
Mar 5, 2025
Merged

Add support for the --exclude flag#102
lorenzo merged 1 commit intohadolint:masterfrom
eexit:master

Conversation

@eexit
Copy link
Copy Markdown
Contributor

@eexit eexit commented Feb 14, 2025

Hello,

See hadolint/hadolint#1029, #96.

I have absolutely no knowledge about Haskell, so please bear with me 😇 .

Since Dockerfile 1.7, the new --exclude flag has been added to the ADD and COPY command. This PR attempts to add the support for this new flag.

Feel free to adapt the PR according to the project standard. I didn't run any test locally, yet.
If this PR is welcomed, I'll add the support for the --parents flag as well, in another PR.

Thanks!

@lorenzo
Copy link
Copy Markdown
Member

lorenzo commented Mar 5, 2025

tests are not passing due to a compilation error

@lorenzo lorenzo merged commit ccbf6e8 into hadolint:master Mar 5, 2025
1 of 2 checks passed
@lorenzo
Copy link
Copy Markdown
Member

lorenzo commented Mar 5, 2025

thank you!

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.

2 participants