Open vrga opened 3 years ago
Hmm, thanks for the report but I don't really know what I can do about it. 🤔 This is a pretty thin wrapper around Buildkit and I have no idea why xz
wouldn't work (assuming gz
and etc. work fine).
From a quick browse through the codebase, it looks like it just doesn't support it:
I'll leave this open since it sounds like you tested with Buildkit directly, and maybe others will run into it too, but I don't anticipate changing anything on my end. :/
I'm not sure where this is coming from then. I'm gonna test out with buildkit on a clean debian10 vm without docker or any of its dependencies installed.
Okay, so i've ran this with buildkitd github.com/moby/buildkit v0.8.1-41-g9bb4fa53 9bb4fa53b1d52025fab5e3e9057acc50fee8ce76
and runc version spec: 1.0.2-dev
(which is what's currently published with podman) and i'm genuinely unsure at this point what's going on, because the buildctl build with XZ compressed tarball works.
I also tried grabbing the runc that's packaged in my concourse and putting it into the vm so that buildkitd can use that as well, same result, build succeeds.
Apologies for a potentially slim bug report, but it would appear that oci-build-task only supports uncompressed tarballs.
This has caused a few days of banging my head against the wall trying to figure out why it fails.
I was building an image from scratch:
The error output from running a task configured as such:
was a variant of this:
Unpacking the xz-compressed rootfs was enough to get this to build correctly. This dockerfile worked just fine with normal
docker build
andbuildctl build
.