How should go about building the following Python Machine Learning Pipeline?

I’m very new at this and I’m at my wits end and can’t seem to find any information online for this specific question (please see screenshot for more information).

enter image description here

How should I build this pipeline? With Ubuntu or Docker? How do I specify which version of python to use? Would appreciate any help. Thank you!

Source: StackOverflow