• Kubernetes Submit Queue's avatar
    Merge pull request #66463 from m1kola/docs_how_to_build_specific_binary · b1e9e747
    Kubernetes Submit Queue authored
    Automatic merge from submit-queue. If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>.
    
    Adds a build example with KUBE_BUILD_PLATFORMS
    
    **What this PR does / why we need it**:
    
    I didn't manage to find any guides about how to build the specific binary for the specific platform in docs (in this repo and in the community repo). Also it was quite hard for me to follow build scripts. At the end, I found help on the kubernetes-dev channel in Slack:`KUBE_BUILD_PLATFORMS` seems to do what I want. I think, would be great to have it documented somehow: The "Key scripts" section of the build doc seems to be a good place to mention it.
    
    **Release note**:
    
    ```release-note
    NONE
    ```
    b1e9e747
Name
Last commit
Last update
..
build-image Loading commit data...
debian-base Loading commit data...
debian-hyperkube-base Loading commit data...
debian-iptables Loading commit data...
debs Loading commit data...
lib Loading commit data...
pause Loading commit data...
release-tars Loading commit data...
root Loading commit data...
rpms Loading commit data...
visible_to Loading commit data...
BUILD Loading commit data...
OWNERS Loading commit data...
README.md Loading commit data...
bindata.bzl Loading commit data...
common.sh Loading commit data...
copy-output.sh Loading commit data...
make-build-image.sh Loading commit data...
make-clean.sh Loading commit data...
openapi.bzl Loading commit data...
package-tarballs.sh Loading commit data...
release-in-a-container.sh Loading commit data...
release.sh Loading commit data...
run.sh Loading commit data...
shell.sh Loading commit data...
util.sh Loading commit data...
workspace.bzl Loading commit data...
workspace_mirror.bzl Loading commit data...