containers / BuildSourceImage

Tool to build a source image based on an existing OCI image
GNU General Public License v2.0
29 stars 14 forks source link

BuildSourceImage: expose "unpack" as subcommand #46

Closed vbatts closed 5 years ago

vbatts commented 5 years ago

This may be a pattern we can do for some of the more useful functions. But for now, folks can build, push, etc. and once they skopeo copy an image to their host, they can

./BuildSourceImage unpack <src> <dest>

and it will be nicely exposed in the container build too

Signed-off-by: Vincent Batts vbatts@hashbangbash.com

vbatts commented 5 years ago

haha, i fixed the issue causing CI to fail, but found an issue using unpack_img inside the container, since we pass flags there by default, so the "subcommand" isn't the first arg and we have no sense of global or subcommand flags.

vbatts commented 5 years ago

omg green. I wish travis wasn't our best option.

vrothberg commented 5 years ago

omg green. I wish travis wasn't our best option.

We can migrate to Cirrus. Most containers projects use that already but I've not performed any migration yet by myself.