From 4685f9101836fd3c6f7322c1d6f585f5c4b09093 Mon Sep 17 00:00:00 2001 From: Mikalai Radchuk Date: Fri, 20 Jul 2018 20:46:13 +0100 Subject: [PATCH] Adds a build example with KUBE_BUILD_PLATFORMS --- build/README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/build/README.md b/build/README.md index a2bfa8ea004..b86b97a35f0 100644 --- a/build/README.md +++ b/build/README.md @@ -24,6 +24,7 @@ The following scripts are found in the `build/` directory. Note that all scripts * `build/run.sh`: Run a command in a build docker container. Common invocations: * `build/run.sh make`: Build just linux binaries in the container. Pass options and packages as necessary. * `build/run.sh make cross`: Build all binaries for all platforms + * `build/run.sh make kubectl KUBE_BUILD_PLATFORMS=darwin/amd64`: Build the specific binary for the specific platform (`kubectl` and `darwin/amd64` respectively in this example) * `build/run.sh make test`: Run all unit tests * `build/run.sh make test-integration`: Run integration test * `build/run.sh make test-cmd`: Run CLI tests