Skip to content

udpate docker run to force platform to linux/amd64 #252

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

Merged

Conversation

kddejong
Copy link
Contributor

@kddejong kddejong commented Feb 16, 2023

Issue #, if available:

Description of changes:

  • Update docker run to force platform to linux/amd64

On Mac OS with the M1 chips docker run will use ARM which results in python packages that have binaries pulling down the aarch based binaries. This will force docker to use a linux/amd64 image so we get the right binaries downloaded.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@kddejong kddejong added the bug Something isn't working label Feb 16, 2023
@kddejong kddejong force-pushed the update/package/pip/withbinaries branch from 922fe65 to 91d9397 Compare February 17, 2023 21:18
@kddejong kddejong changed the title Update pip install command for handling binaries udpate docker run to force platform to linux/amd64 Feb 17, 2023
@kddejong kddejong force-pushed the update/package/pip/withbinaries branch from 91d9397 to 09cbbc2 Compare February 17, 2023 21:23
@kddejong kddejong merged commit 13a1d41 into aws-cloudformation:master Mar 8, 2023
@kddejong kddejong deleted the update/package/pip/withbinaries branch March 8, 2023 18:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants