Skip to content

Commit 24ff933

Browse files
authored
Merge pull request #23639 from 2003Aditya/fix-multi-platform-docs
docs: correct build args in multi-platform guide to include TARGETOS …
2 parents 577bf3e + 310bd65 commit 24ff933

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

content/manuals/build/building/multi-platform.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -411,9 +411,7 @@ Steps:
411411
platforms.
412412

413413
3. To add cross-compilation support, update the Dockerfile to use the
414-
pre-defined `BUILDPLATFORM` and `TARGETPLATFORM` build arguments. These
415-
arguments are automatically available in the Dockerfile when you use the
416-
`--platform` flag with `docker build`.
414+
pre-defined `BUILDPLATFORM`, `TARGETOS` and `TARGETARCH` build arguments.
417415

418416
- Pin the `golang` image to the platform of the builder using the
419417
`--platform=$BUILDPLATFORM` option.

0 commit comments

Comments
 (0)