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

DL3010, DL3020: fix edge-cases for archives #681

Merged
merged 1 commit into from Aug 4, 2021

Conversation

m-ildefons
Copy link
Collaborator

DL3020:

  • Don't warn that the user should use ADD instead of COPY, as this
    has the same result since zip files are not extracted.

DL3010:

  • Don't suggest using ADD when copying from a previous build stage,
    as ADD does not support copying from previous build stages.

General:

  • Unify the list of archive extensions to reduce data duplication.

fixes: #679
fixes: #676

DL3020:
  - Don't warn that the user should use `ADD` instead of `COPY`, as this
    has the same result since zip files are not extracted.

DL3010:
  - Don't suggest using `ADD` when copying from a previous build stage,
    as `ADD` does not support copying from previous build stages.

General:
  - Unify the list of archive extensions to reduce data duplication.

fixes: hadolint#679
fixes: hadolint#676
@lorenzo
Copy link
Member

lorenzo commented Aug 4, 2021

thanks!

@lorenzo lorenzo merged commit 9d6f55f into hadolint:master Aug 4, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants