Skip to content

Commit

Permalink
[identity] hard-code the platform type for the identity docker image
Browse files Browse the repository at this point in the history
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

Reviewers: jon, bartek

Reviewed By: jon

Subscribers: ashoat, tomek

Differential Revision: https://phab.comm.dev/D8447
  • Loading branch information
vdhanan committed Jul 10, 2023
1 parent c2b8b1f commit 911b16d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions services/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ services:
- $HOME/.aws/credentials:/home/comm/.aws/credentials:ro
# identity
identity-server:
platform: linux/amd64
depends_on:
- localstack
build:
Expand Down

0 comments on commit 911b16d

Please sign in to comment.