feat: add Dockerfile for scanning Docker repos #333
Closed
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
What does this PR do?
Add a Dockerfile for generating a Docker image with the Snyk CLI and the Docker CLI.
This means that a Docker user can scan Docker images using a Docker image!
Where should the reviewer start?
Build with
How should this be manually tested?
Run using a command such as
Any background context you want to provide?
I want to run Snyk tests on Docker images generated on CI, and it's easier to have Snyk in a container than install it on the CI server.
Additional questions
Can this also be added to the build system with the other Docker images?