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

Force DockerTasks to run with image platform amd64 when running on arm64 arch #762

Merged
merged 2 commits into from
Jan 16, 2024

Conversation

scme0
Copy link
Collaborator

@scme0 scme0 commented Jan 15, 2024

Background

The nuke build doesn't work correctly on M1 macs because the DockerTasks try and pull an arm64 version of the container which doesn't exist. This change just forces the DockerTasks to use an amd64 version of the container which runs via Rosetta 2 and works correctly.

Results

This only affects builds on machines running on arm64 architecture and all it does is set the platform option to amd64.

How to review this PR

Quality ✔️

Pre-requisites

  • I have read How we use GitHub Issues for help deciding when and where it's appropriate to make an issue.
  • I have considered informing or consulting the right people, according to the ownership map.
  • I have considered appropriate testing for my change.

@scme0 scme0 requested a review from a team as a code owner January 15, 2024 23:56
@scme0 scme0 force-pushed the scme/make-build-work-on-apple-silicon branch from 21afc42 to 173bbfe Compare January 16, 2024 03:37
@scme0 scme0 merged commit 6a3139f into main Jan 16, 2024
48 checks passed
@scme0 scme0 deleted the scme/make-build-work-on-apple-silicon branch January 16, 2024 04:46
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