Skip to content

Commit

Permalink
Merge pull request #1411 from snyk/feat/add-platform-details-to-help
Browse files Browse the repository at this point in the history
feat: Add platform details to help for snyk container
  • Loading branch information
garethr committed Sep 15, 2020
2 parents 7388695 + 565df40 commit 5bf1e3e
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions help/container.txt
Expand Up @@ -16,6 +16,9 @@ Options:
--file=<string> ......................... Include the path to the image's Dockerfile for more detailed advice.
-h, --help
--json
--platform=<string> ..................... For multi-architecture images, specify the platform to test. Options are:
[linux/amd64, linux/arm64, linux/riscv64, linux/ppc64le, linux/s390x,
linux/386, linux/arm/v7 orlinux/arm/v6]
--print-deps ............................ Print the dependency tree before sending it for analysis.
--project-name=<string> ................. Specify a custom Snyk project name.
--policy-path=<path> .................... Manually pass a path to a snyk policy file.
Expand All @@ -24,6 +27,7 @@ Options:
Examples:

$ snyk container test alpine
$ snyk container test --platform=linux/arm64 debian
$ snyk container monitor alpine
$ snyk container test docker-archive:archive.tar
$ snyk container test oci-archive:archive.tar
Expand Down

0 comments on commit 5bf1e3e

Please sign in to comment.