Page MenuHomePhabricator

[identity] hard-code the platform type for the identity docker image
ClosedPublic

Authored by varun on Jul 7 2023, 12:54 PM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Jun 13, 12:49 PM
Unknown Object (File)
Mon, Jun 10, 7:23 PM
Unknown Object (File)
May 5 2024, 4:35 AM
Unknown Object (File)
May 1 2024, 5:50 PM
Unknown Object (File)
Apr 18 2024, 11:42 AM
Unknown Object (File)
Apr 15 2024, 8:44 PM
Unknown Object (File)
Apr 13 2024, 8:02 AM
Unknown Object (File)
Apr 12 2024, 4:59 PM
Subscribers

Details

Summary

On M1 Macs, the default image platform is arm64. We should build x86-64 images, though, since our EC2 instances are x86-64.

Test Plan

docker-compose build identity-server builds an x86-64 image on my M1 now

Diff Detail

Repository
rCOMM Comm
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

varun requested review of this revision.Jul 7 2023, 1:12 PM
This revision is now accepted and ready to land.Jul 10 2023, 8:48 AM

Why not use arm64 instances? Are they more expensive? Vaguely recall the AWS Graviton instances having better price/performance?

In D8447#249659, @atul wrote:

Why not use arm64 instances? Are they more expensive? Vaguely recall the AWS Graviton instances having better price/performance?

i think graviton is only free-tier until the end of this year. if they extend it i'd be down to switch