-
-
Notifications
You must be signed in to change notification settings - Fork 161
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
FR: Ability to output oci_image
as a .tar file
#669
Comments
We have oci_load rule that you can use in combination with filegroup to get a .tar file. It's not likely that we are gonna make oci_image output a tar file as we learned that it is a recipe for disaster. And as for filesystem inspection, you can use https://github.com/wagoodman/dive Since, you can do this already today by creating a macro in your repo, there is nothing to fix here. |
What issues did you find with a |
It is IO heavy, when there is multiple I have seen people;
|
I'm looking for a way of creating |
No, there is no rule in rules_oci that would allow you do flatten and extract layers from a base image. |
I am going to close this issue as this is already supported by |
looks like the file exported by the oci_load is in "docker" format instead of "oci"? |
please see #617 |
As part of migrating from rules_docker to rules_oci, I would like to list the contents of the file system of an image produced by
oci_image
. I'm not finding an easy way to do this.I tried to use
crane export
to create a tarball from the image directory output by oci_image. However, Crane doesn't accept the image directory output byrules_oci
as an argument tocrane export
(see google/go-containerregistry#1992).The text was updated successfully, but these errors were encountered: