From c68852b82e0510f58638c3fc9bd2a0f4fbdfd77e 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 6b49e1d580c16..766c1917822f6 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) \ -f Dockerfile-grpcbox \ -t "$(GRPCBOX)" \