mirror of
https://gitea.com/Lydanne/buildx.git
synced 2025-05-19 09:57:45 +08:00

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. Signed-off-by: Jonathan A. Sternberg <jonathan.sternberg@docker.com>
15 lines
506 B
Go
15 lines
506 B
Go
// Copyright 2024 The Go Authors. All rights reserved.
|
|
// Use of this source code is governed by a BSD-style
|
|
// license that can be found in the LICENSE file.
|
|
|
|
package versions
|
|
|
|
// toolchain is maximum version (<1.22) that the go toolchain used
|
|
// to build the current tool is known to support.
|
|
//
|
|
// When a tool is built with >=1.22, the value of toolchain is unused.
|
|
//
|
|
// x/tools does not support building with go <1.18. So we take this
|
|
// as the minimum possible maximum.
|
|
var toolchain string = Go1_18
|