Skip to content

Latest commit

 

History

History
10 lines (7 loc) · 561 Bytes

cross-compile.md

File metadata and controls

10 lines (7 loc) · 561 Bytes

Cross-compile binaries

Notice: Kuiper plugins bases on Golang, and due to Golang restrictions, CGO_ENABLED flag must be set to 0 to use the Golang cross-compile. But with this flag mode, the Golang plugins will not work. So if you want to use plugins in Kuiper, you can NOT use cross-compile to produce the binary packages.

  • Preparation
    • docker version >= 19.03
    • Enable Docker CLI experimental mode
  • Cross-compile binary files: $ make cross_build
  • Cross-compile images for all platforms and push to registry:$ make cross_docker