Building docker images on EC2's A1 instances and running them on Xavier

It looks like AWS has new instance types that run on Arm’s Aarch64 chips.

Theoretically you should be able to build any docker image there, push it to dockerhub, and pull it on Xavier and it’ll work.

I am wondering if anyone has attempted something similar?

My reasoning is I need to build a rather very large and complex container (baidu’s apollo – self driving car platform). So building it on an EC2 instance makes a lot more sense than on the Xavier itself with limited CPU and RAM.