Open froody opened 1 year ago
I think most users do this by publishing their docker image to a registry and then using oci_pull
. Would that work for you?
FWIW, builkit supports oci tarballs, which are tar'ed oci-layouts (our intermediate format) that can be extracted using BSDTAR toolchain.
This was possible in 1.x but is no longer possible in 2.x.
See #700 for additional information.
I need an ubuntu image with some packages installed, so I use docker to build that image and export it as an oci image tarball. The problem is there's no clean way to use this with oci_image. My workaround is untaring the image, finding the layers I want, and manually adding them in the
tars
argument tooci_image
but that's hard to automate. It would be much nicer if I could dooci_image(base=":my_oci_image.tar", ...)