-
-
Notifications
You must be signed in to change notification settings - Fork 244
Description
Is your feature request related to a problem? Please describe.
I need to use robot framework for testing embedded setups. The docker host is a Raspberry Pi and so requires an Arm container.
Describe the solution you'd like
Build for aarch64 and push two images and a manifest for automatic
Describe alternatives you've considered
Using --platform switch on docker run still gets a binary error - so couldn't get cross-arch support to run.
Additional context
I built this docker file on an RPI as a proof of concept and got the error
package microsoft-edge-stable-135.0.3179.54-1.x86_64 from packages.microsoft.com_yumrepos_edge does not have a compatible architecture
The edge package has a hardcoded arch - but it appears it is not built for arm => https://packages.microsoft.com/yumrepos/edge/Packages/m/
Commenting out edge worked.
But whew that's a 4GB container which is heavy for just testing serial output.
From python:alpine I am able to make one optimized for serial testing that is 67MB.
I guess I don't need this for my use case, but I'll leave my research here about commenting edge in case someone wants this because Arm instances are much cheaper in the cloud ;)