I've recently upgraded to an M1 Mac, and my docker...
# aws
q
I've recently upgraded to an M1 Mac, and my docker builds are ARM64 which doesn't work on default Fargate. Would this be considered a bug? If I'm targeting Fargate shouldn't my docker builds target the correct platform?
I can resolve this by passing
--platform linux/amd64
to
extraOptions
when building the image
🙌 1
p
If the dockerized app can actually run on ARM64, why not take advantage of the better price/performance ratio? https://aws.amazon.com/about-aws/whats-new/2021/11/aws-fargate-amazon-ecs-aws-graviton2-processors/
q
It's a good suggestion, but not a reasonable short term solution
g
Unfortunately, this is an ongoing issue. There's a workaround at https://github.com/pulumi/pulumi-docker/issues/296#issuecomment-1030094518, and you can add your vote and info to the issue there, as well. The emoji reactions on the first comment in the issue (the 👍 reactions) feed into our public roadmap.
q
I added my own thumbs up there
👍 1