mirror of
https://github.com/ko-build/ko.git
synced 2025-03-26 21:12:45 +02:00
732 B
732 B
ko deps
Print Go module dependency information about the ko-built binary in the image
Synopsis
This sub-command finds and extracts the executable binary in the image, assuming it was built by ko, and prints information about the Go module dependencies of that executable, as reported by "go version -m".
If the image was not built using ko, or if it was built without embedding dependency information, this command will fail.
ko deps IMAGE [flags]
Examples
# Fetch and extract Go dependency information from an image:
ko deps docker.io/my-user/my-image:v3
Options
-h, --help help for deps
SEE ALSO
- ko - Rapidly iterate with Go, Containers, and Kubernetes.