We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
We can improve the logic of this check a little:
Discussion: #7791
The text was updated successfully, but these errors were encountered:
Allow the ADD instruction with HTTP, HTTPS and Git URLs
ADD
862f031
COPY should be preferred over ADD simply when copying a file from the build context to the container. However, ADD supports additional features such as fetching files from remote HTTP(S) and Git URLS and extracting tar files. See https://docs.docker.com/build/building/best-practices/#add-or-copy, aquasecurity/trivy#7806 and aquasecurity/trivy#7791.
5e33506
COPY should be preferred over ADD when simply copying a file from the build context to the container. However, ADD supports additional features such as fetching files from remote HTTP(S) and Git URLS and extracting tar files. See https://docs.docker.com/build/building/best-practices/#add-or-copy, aquasecurity/trivy#7806 and aquasecurity/trivy#7791.
89d7c53
@simar7 I believe this issue can be closed now, as aquasecurity/trivy-checks#281 has been merged 👍
Sorry, something went wrong.
nicwortel
simar7
No branches or pull requests
We can improve the logic of this check a little:
Discussion: #7791
The text was updated successfully, but these errors were encountered: