I have been trying to do this for a while now. I wasn't able to get a build on my local machine so I went the Docker route. I was able to successfully the use docker image devel-gpu to build Tensorflow. The problem is that it built the latest and greatest (2.5). I have searched and searched for a way to build an older 2.x version but have had no luck.
How do you build, say TensorFlow 2.1 using docker?
I seemed like they quit making docker images for individual versions that contained the source code to build.