From 310bd6549f283f7907dc3eae79831ae41fc4247c Mon Sep 17 00:00:00 2001 From: 2003Aditya Date: Sat, 1 Nov 2025 23:29:15 +0530 Subject: [PATCH] docs: correct build args in multi-platform guide to include TARGETOS and TARGETARCH (#23240) --- content/manuals/build/building/multi-platform.md | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/content/manuals/build/building/multi-platform.md b/content/manuals/build/building/multi-platform.md index e60db90b3808..04247d157d4b 100644 --- a/content/manuals/build/building/multi-platform.md +++ b/content/manuals/build/building/multi-platform.md @@ -411,9 +411,7 @@ Steps: platforms. 3. To add cross-compilation support, update the Dockerfile to use the - pre-defined `BUILDPLATFORM` and `TARGETPLATFORM` build arguments. These - arguments are automatically available in the Dockerfile when you use the - `--platform` flag with `docker build`. + pre-defined `BUILDPLATFORM`, `TARGETOS` and `TARGETARCH` build arguments. - Pin the `golang` image to the platform of the builder using the `--platform=$BUILDPLATFORM` option.