Skip to content
Patrick José Pereira edited this page Mar 11, 2021 · 21 revisions

How to build

  1. Install docker
  2. Install docker buildx
  3. Enable docker experimental features
  4. Create a node to for armv6 with the correct configuration
    • docker buildx create --use --platform=linux/arm/v6 --buildkitd-flags '--allow-insecure-entitlement network.host --allow-insecure-entitlement security.insecure' --name arm-builder
  5. Pull latest changes to avoid building everything from scratch
    • docker pull --platform linux/arm/v6 bluerobotics/companion-core:master
  6. Build it
    • Be aware that crosscompiling the core image will take some time in a good computer.
    • docker buildx build --platform linux/arm/v6 . -t user/companion-core --push --output type=registry --progress=plain

Know problems

Is know that qemu-arm-static version 5.2.0 has DNS problems, so git clone step may fail, for more information check this builx issue.

  • Check qemu-arch-extra
Clone this wiki locally