-
Notifications
You must be signed in to change notification settings - Fork 86
Development
Patrick José Pereira edited this page Feb 4, 2021
·
21 revisions
- Install docker
- Each operating system has a different way, but it's recommended to install the latest version, check the docker installation instructions.
- Install docker buildx
- Enable docker experimental features
- You can check that with
docker version
- For more information check docker experimental README
- You can check that with
- 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
- Pull latest changes to avoid building everything from scratch
docker pull --platform linux/arm/v6 bluerobotics/companion-core:master
- 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