docker / buildx

Docker CLI plugin for extended build capabilities with BuildKit
Apache License 2.0
3.59k stars 483 forks source link

protobuf: remove gogoproto #2713

Closed jsternberg closed 1 month ago

jsternberg commented 2 months ago

Removes gogo/protobuf from buildx and updates to a version of moby/buildkit where gogo is removed.

This also changes how the proto files are generated. This is because newer versions of protobuf are more strict about name conflicts. If two files have the same name (even if they are relative paths) and are used in different protoc commands, they'll conflict in the registry.

Since protobuf file generation doesn't work very well with paths=source_relative, this removes the go:generate expression and just relies on the dockerfile to perform the generation.