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
F3387259: D8447.diff
Fri, Nov 29, 8:29 AM
Unknown Object (File)
Tue, Nov 19, 6:38 AM
Unknown Object (File)
Tue, Nov 19, 6:38 AM
Unknown Object (File)
Tue, Nov 19, 6:38 AM
Unknown Object (File)
Tue, Nov 19, 6:36 AM
Unknown Object (File)
Oct 29 2024, 8:21 PM
Unknown Object (File)
Oct 18 2024, 9:00 AM
Unknown Object (File)
Oct 18 2024, 9:00 AM
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