Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for the --exclude flag #102

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

eexit
Copy link

@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!

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.

1 participant