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
Both oci-unpack and oci-create-runtime-bundle cannot unpack gzip'd layers. I haven't read what the spec says about compressed layers (and I know @vbatts has some strong opinions about it) but this is either an issue in skopeo or image-tools.
Specifically, the examples in the documentation don't work:
% skopeo copy docker://alpine:latest oci:alpine-oci
% oci-unpack --ref latest alpine-oci alpine-unpack
unpacking failed: invalid layer media type: invalid media type "application/vnd.oci.image.layer.v1.tar+gzip"
% oci-create-runtime-bundle --ref latest alpine-oci alpine-unpack
unpacking failed: invalid layer media type: invalid media type "application/vnd.oci.image.layer.v1.tar+gzip"
Pinging @runcom since it involves skopeo and might be a problem there (but IMO we shouldn't be regenerating new blob IDs on the fly inside skopeo). I'd be happy to work on a PR for image-tools if it's an issue of compressed unpacking not having been implemented yet. 😉
The text was updated successfully, but these errors were encountered:
I'll leave it open until #56 is merged. Sorry for pinging you, I thought it was related to the whole "compression breaks content-addressability" stuff that @vbatts always goes on about. 😉
Both
oci-unpack
andoci-create-runtime-bundle
cannot unpackgzip
'd layers. I haven't read what the spec says about compressed layers (and I know @vbatts has some strong opinions about it) but this is either an issue in skopeo or image-tools.Specifically, the examples in the documentation don't work:
Pinging @runcom since it involves skopeo and might be a problem there (but IMO we shouldn't be regenerating new blob IDs on the fly inside skopeo). I'd be happy to work on a PR for image-tools if it's an issue of compressed unpacking not having been implemented yet. 😉
The text was updated successfully, but these errors were encountered: