Skip to content

Help: dockerBuildCmdExtraArgs usage for m1 mac docker build #743

Answered by Treeless
Treeless asked this question in Q&A
Discussion options

You must be logged in to vote

Ended up going with this code:

  pythonRequirements:
    dockerizePip: true
    dockerImage: public.ecr.aws/sam/build-python3.8:latest-arm64
    layer: true

Also downloaded manually from the website for the build image for arm.

Soon after realized my pip requirements.txt was malformed and had some incorrect references to the wrong python libraries for the wrong python version, after installing python3.8 through homebrew, I was able to use it to install the correct versions.

Hope this helps someone. Cheers.

Replies: 3 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by Treeless
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant