mirror of
https://github.com/ko-build/ko.git
synced 2024-11-27 08:21:07 +02:00
35a4d2c28e
Also update generated markdown docs, and omit unnecessary autogenerated bits.
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.