'How to install python specific version on docker?

I need to install python 3.8.10 in a container running ubuntu 16.04.

16.04 has no support anymore, so I need a way to install it there manually.



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source