I've been trying to install some python modules which use C code which is compiled based on the architecture of the host. The final scripts would be deployed on an arm64 architecture, which does not have access to the internet, so installing the modules directly on it is impossible. My machine is an Intel Mac, so it has a different architecture than arm64. I was thinking about creating a docker image with the arm64v8/python docker image and then transferring it into the arm64, but I get the error of:
Using default tag: latest
latest: Pulling from arm64v8/python
no matching manifest for linux/amd64 in the manifest list entries
That means that this solution will not work.
Does anyone have any tips or tricks on how to approach such problem?