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
{{ message }}
This repository has been archived by the owner on Oct 2, 2023. It is now read-only.
Yes, the previous version in which this bug was not present was: ....
Not sure, we have tested v0.24.0 and v0.25.0 and both failed
Description
A clear and concise description of the problem...
we found that the rule container_pull seems to assume the MediaType of image layers is gzip, even when the actual MediaType is application/vnd.docker.image.rootfs.diff.tar
🔬 Minimal Reproduction
prepare an image with MediaTypeapplication/vnd.docker.image.rootfs.diff.tar
container_image(
name = "build_image",
base = "@image_source//image",
architecture = "amd64",
visibility = ["//visibility:public"],
)
run bazelisk build //:build_image
🔥 Exception or Error
2023/08/11 18:56:25 Image pull was unsuccessful: unable to save remote image : unable to write image layers: unable to write image layer: unable to get the contents of layer 0: gzip: invalid header
🌍 Your Environment
Operating System:
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 22.04.2 LTS
Release: 22.04
Codename: jammy
🐞 bug report
Affected Rule
The issue is caused by the rule:Is this a regression?
Yes, the previous version in which this bug was not present was: ....Not sure, we have tested v0.24.0 and v0.25.0 and both failed
Description
A clear and concise description of the problem...we found that the rule
container_pull
seems to assume theMediaType
of image layers isgzip
, even when the actualMediaType
isapplication/vnd.docker.image.rootfs.diff.tar
🔬 Minimal Reproduction
MediaType
application/vnd.docker.image.rootfs.diff.tar
WORKSPACE
bazelisk build //:build_image
🔥 Exception or Error
🌍 Your Environment
Operating System:
Output of
bazel version
:Rules_docker version:
Anything else relevant?
The text was updated successfully, but these errors were encountered: