Hello, We have a pants setup for python to build pex executable, that is copied into a Dockerfile. I am running into issues were one of the os level dependency is missing. I tried installing that dependency on the CI instance where the pex file is built. But that doesn't help. How do you add os level dependencies for pex?
12/30/2022, 12:34 AM
I think you'd have to install that in the docker container? PEX only handles python dependencies. So if you depend on something like libkeyutils-dev on Ubuntu, you'd need to run apt/apt get in a build stage for the docker container.