Docker build fails on 'pip install' from "Temporary failure in name resolution"

Since I just replied to a similar question, i’ll just link my other reply.