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)
Sat, Feb 15, 4:00 PM
Unknown Object (File)
Fri, Feb 14, 2:29 PM
Unknown Object (File)
Fri, Feb 14, 2:29 PM
Unknown Object (File)
Thu, Feb 13, 4:08 PM
Unknown Object (File)
Jan 25 2025, 10:57 PM
Unknown Object (File)
Jan 25 2025, 10:57 PM
Unknown Object (File)
Jan 25 2025, 10:57 PM
Unknown Object (File)
Jan 25 2025, 10:57 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
Branch
master
Lint
No Lint Coverage
Unit
No Test Coverage

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