The edge_orchestrator orchestrates the following steps as soon as it is triggered:
- image capture
- image backup
- metadata backup
- model inference on images
- saving results
Depending on the target platform that will run the Docker container, we need to condition the Dockerfile accordingly.
Therefor, we use the TARGETPLATFORM
variable that is the value set with --platform
flag on build:
docker build --platform linux/arm64 .
Do not get confused with the BUILDPLATFORM
variable, that matches the current machine. (e.g. linux/amd64 or MacOs).
Visit:
- Multi-platform build arguments for more details on Build variables
- Multi-platform builds for more details on the Multi-platform build with Docker