Why new Macs break your Docker build, and how to fix it
One of the promises of Docker is reproducibility: you can build an image on a different machine, and assuming you’ve done the appropriate setup, get the same result. So it can be a little confusing when you try to build your Python-based
Dockerfile
on a new Mac, and everything starts failing. What used to work before—on an older Mac, or on a Linux machine—fails in completely unexpected ways.
Source: Why new Macs break your Docker build, and how to fix it, an article by Itamar Turner-Trauring.