Open dmytro-GL opened 4 days ago
@jsternberg PTAL
1a3fc0aa15273eb7f262e0d8336702b10c942283 is the first bad commit
commit 1a3fc0aa15273eb7f262e0d8336702b10c942283
Author: Jonathan A. Sternberg <jonathan.sternberg@docker.com>
Date: Thu Sep 26 11:47:07 2024 -0500
protobuf: remove gogoproto
Remove gogoproto in favor of the standard protobuf compiler. This
removes any nonstandard extensions that were part of gogoproto such as
the custom types.
Signed-off-by: Jonathan A. Sternberg <jonathan.sternberg@docker.com>
This seems to happen when:
syntax
line is used (image doesn't matter).Buildx client doesn't seem to matter. Buildkit version does seem to matter. It seems to be related to something with the upload provider used by the session. The older version seems to have only called Pull
once while the new one seems to call it multiple times. Still investigating.
We've also determined that this doesn't happen with syntax version 1.11.0. These are still intended to be compatible and I'm still trying to figure out why this is happening.
I'm not quite sure whether this sort of compatibility issues is expected, and whether buildkit is to blame, but my devspace environment got broken today after I recreated it from scratch.
Here is a minimal example:
It works fine if I either switch to buildkit:v0.16.0:
or switch to
docker/dockerfile:1.11.0
.I managed to narrow it down to this commit: https://github.com/moby/buildkit/pull/5342/commits/1a3fc0aa15273eb7f262e0d8336702b10c942283
Full output: https://gist.github.com/dmytro-GL/03010a4e9fa6cf658e1de3d8763af0fc
Full output: https://gist.github.com/dmytro-GL/d2c8a5f307a1477e7299faf5f5322cc0
Docker information: