Second attempt at adding arm64 support to the python image
Reasons
The previous attempt had issues with sudo and to workaround it using the USER directive caused permission issues.
The shared module and orb tooling has since been updated with a workaround to allow sudo to work.
The python image in particular is still extremely slow to build, but we will look at ways to mitigate this in the future once arm support has been rolled out to all images
Description
Second attempt at adding arm64 support to the python image
Reasons
The previous attempt had issues with sudo and to workaround it using the
USER
directive caused permission issues.The shared module and orb tooling has since been updated with a workaround to allow sudo to work.
The python image in particular is still extremely slow to build, but we will look at ways to mitigate this in the future once arm support has been rolled out to all images
Test build: https://app.circleci.com/pipelines/github/CircleCI-Public/cimg-python/591/workflows/840a4eab-4aa6-445a-8369-601ef09d76a6/jobs/648
Checklist
Please check through the following before opening your PR. Thank you!
Dockerfile.template
file only