From 0efa07317622b074029b566fde41b2a006a89b0c Mon Sep 17 00:00:00 2001 From: Tiago Silva Date: Mon, 23 Jun 2025 18:33:39 +0100 Subject: [PATCH] grpcbuildbox: drop usage of buildx when building grpcbox locally On Linux, docker buildx plugin doesn't automatically load images into the registry so it never rebuilds the image on go version changes or buf changes. This causes buf to fail because the image go base version differs from the Teleport required version. Since we do not need any cross-compilation here, we can safely drop `buildx` plugin usage. Signed-off-by: Tiago Silva --- build.assets/grpcbox.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.assets/grpcbox.mk b/build.assets/grpcbox.mk index 4196d97b440d6..78ab44e73c098 100644 --- a/build.assets/grpcbox.mk +++ b/build.assets/grpcbox.mk @@ -25,7 +25,7 @@ GRPCBOX_RUN := $(DOCKER) run -it --rm -v "$$(pwd)/../:/workdir" -w /workdir $(GR # It's leaner, meaner, faster and not supposed to compile code. .PHONY: grpcbox grpcbox: - $(DOCKER) buildx build \ + $(DOCKER) build \ --build-arg BUF_VERSION=$(BUF_VERSION) \ --build-arg GOGO_PROTO_TAG=$(GOGO_PROTO_TAG) \ --build-arg NODE_GRPC_TOOLS_VERSION=$(NODE_GRPC_TOOLS_VERSION) \