You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The output of an oci_image and oci_image_rule is not clearly documented.
The only reference to the output as of today (taken from here) is
Produces a target [name].digest, whose default output is a file containing the sha256 digest of the resulting image. This is similar to the same-named target created by rules_docker's container_image macro.
The output of the rule seems to be a directory. When I inspect the directory, I don't see much content. I would have expected to single file with an image file I could run though crane export <image> <image.tar> so I can inspect the file system contents of the image.
The text was updated successfully, but these errors were encountered:
Thanks. Adding that sentence to the docstring for oci_image and oci_image_rule is pretty much all I'm looking for.
It might also be worth giving a pointer to guide that explains how to consume the image with other tools. For example, how can a rules_oci output directory be used by docker, e.g. the docker load command,
The output of an
oci_image
andoci_image_rule
is not clearly documented.The only reference to the output as of today (taken from here) is
The output of the rule seems to be a directory. When I inspect the directory, I don't see much content. I would have expected to single file with an image file I could run though
crane export <image> <image.tar>
so I can inspect the file system contents of the image.The text was updated successfully, but these errors were encountered: