Redbug is deploying sotware to the Raspberry Pi using docker.
A Raspberry Pi uses an ARM processor, which is different from the x86 processor your development machine likely uses. We're going to build for the Pi by building a multi-platform docker image that includes compiled code for several different platforms, so that we can push it to a repository like Docker Hub, and it can be used by different people in different environments.
We're going to do the building it from your development machine. This requires the use of docker's buildx command, which accesses extended build capabilities.
Buildx requires a “driver”, which is a collection of build tools setup to support multiple platforms. It achieves this using docker images itself. These instructions are based on this article on Building Multi-Platform Images.
The instructions in that article can be followed. You do need to have Docker Desktop installed, having the command line only docker engine will not work, as it doesn't come with build tools for the needed platforms. With that done, run `docker buildx create` with the correct params to create the builder you want. Ensure you are using it with `docker buildx use`.