Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add default platform for Docker builds #248

Merged
merged 1 commit into from
Jan 24, 2024

Conversation

maurermi
Copy link
Collaborator

Addresses an issue seen with M-series Macs where Docker looks to pull images built for the linux/arm64/v8 platform instead of the linux/amd64 platform by default.

Specifies platform: linux/amd64 in docker-compose files to fix this issue for Mac users.

Minor additional change: also renames the image built / targeted by docker-compose-parsec-test.yml to opencbdc-tx-parsec instead of opencbdc-tx to match convention.

Addresses an issue seen with M-series Macs where Docker
looks to pull images built for the linux/arm64/v8 platform
instead of the linux/amd64 platform by default.

Specifies platform: linux/amd64 in docker-compose files
to fix this issue for Mac users.

Minor note: also renames the image built / targeted
by docker-compose-parsec-test.yml to opencbdc-tx-parsec
instead of opencbdc-tx to match convention.

Signed-off-by: Michael Maurer <maurer.mi@northeastern.edu>
@maurermi
Copy link
Collaborator Author

Tested these changes on an M1 Mac and on my personal non-Mac system.

Would be great to get approval from another M-series Mac user and a non-Mac user if possible.

@HalosGhost
Copy link
Collaborator

HalosGhost commented Jan 24, 2024

utACK. Specifies amd64 as the platform for all docker images so that the right image is grabbed by-default across any platform.

Looks like we have a tACK from Hung Nguyen in the community. I don't have Apple Silicon to test on so I cannot give a tACK, but @maurermi if Hung's use serves as confirmation for you, I'm happy to approve and merge.

@maurermi
Copy link
Collaborator Author

@HalosGhost That sounds good to me!

Copy link
Collaborator

@HalosGhost HalosGhost left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sounds good. Merging!

@HalosGhost HalosGhost merged commit f9afb23 into mit-dci:trunk Jan 24, 2024
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants