open-horizon / anax

Horizon agent control system
https://open-horizon.github.io/docs/anax/docs/
Apache License 2.0
73 stars 98 forks source link

Feature Request: update Dockerfiles to build containers for aarch64 #3252

Open johnwalicki opened 2 years ago

johnwalicki commented 2 years ago

Is your feature request related to a problem? Please describe.

Update the anax agent Dockerfiles to build aarch64 containers. The current arm64 containers might actually be sufficient.

Describe the solution you'd like.

Clean install of the Horizon agent anax-in-a-container on Raspberry Pi / Industrial PCs (ARM64 based) running Fedora / Red Hat aarch64 architecture.

Additional context.

Inspect all of the Dockerfiles and determine if changes are required to support ARM64 / aarch64

$ find . -name Dockerfile 
./test/docker/fs/hzn/service/hello/Dockerfile
./test/docker/fs/hzn/service/usehello/Dockerfile
./test/docker/fs/hzn/service/cpu/Dockerfile
./test/docker/fs/hzn/service/leaf/Dockerfile
./test/docker/fs/helm/hello/Dockerfile
./test/docker/Dockerfile
./ess/image/edge-sync-service-armhf/Dockerfile
./ess/image/edge-sync-service-arm64/Dockerfile
./css/image/cloud-sync-service-armhf/Dockerfile
./css/image/cloud-sync-service-arm64/Dockerfile
johnwalicki commented 2 years ago

Master GH issue: Architecture : Support for aarch64 RPMs #3255 will track all of this effort.