From d3442c3616264904e9054ae08032913db61fafe5 Mon Sep 17 00:00:00 2001 From: Sebastiaan van Stijn Date: Mon, 26 Oct 2026 16:02:04 +0100 Subject: [PATCH] build: disable gRPC tracing to reduce binary size Add the grpcnotrace build tag to exclude gRPC's tracing integration. This reduces the size of buildctl by ~492 KiB (1.51%). Signed-off-by: Sebastiaan van Stijn --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 55388bdfe..3af2da11a 100644 --- a/Dockerfile +++ b/Dockerfile @@ -99,7 +99,7 @@ RUN --mount=target=. --mount=target=/root/.cache,type=cache \ --mount=target=/go/pkg/mod,type=cache \ --mount=source=/tmp/.ldflags,target=/tmp/.ldflags,from=buildkit-version <