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)
Fri, Sep 20, 1:55 AM
Unknown Object (File)
Fri, Sep 20, 1:55 AM
Unknown Object (File)
Sat, Sep 14, 8:56 PM
Unknown Object (File)
Fri, Sep 6, 10:05 PM
Unknown Object (File)
Mon, Sep 2, 3:51 PM
Unknown Object (File)
Aug 28 2024, 6:38 PM
Unknown Object (File)
Aug 28 2024, 5:25 PM
Unknown Object (File)
Aug 26 2024, 6:55 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