careful-wolf-40930
09/01/2022, 12:25 PMcareful-wolf-40930
09/01/2022, 12:26 PMcareful-wolf-40930
09/01/2022, 12:27 PMcareful-wolf-40930
09/01/2022, 12:32 PMcareful-wolf-40930
09/01/2022, 12:33 PMrefined-addition-53644
09/01/2022, 12:39 PMpex_binary
. Not sure if you already read about it
https://www.pantsbuild.org/docs/python-package-goal#creating-a-pex-file-from-a-pex_binary-target
You can combine this with docker. Worth going though the docs to understand the flow.
https://www.pantsbuild.org/docs/dockercareful-wolf-40930
09/01/2022, 2:41 PMrefined-addition-53644
09/01/2022, 2:43 PMThe PEX file will contain all the code needed to run the binary, namely:
• All Python code and resources the binary transitively depends on.
• The resolved 3rd-party Python dependencies (sdists and wheels) of all targets the binary transitively depends on.
careful-wolf-40930
09/01/2022, 2:44 PMrefined-addition-53644
09/01/2022, 2:45 PMcareful-wolf-40930
09/01/2022, 2:46 PM