https://pantsbuild.org/ logo
#pex
Title
# pex
j

jolly-midnight-72759

11/27/2019, 2:56 PM
What are solutions people use to distribute their
pex
files? Other than bundling
.pex
files in OS specific packaging solutions (e.g. Homebrew, debs, RPMs, etc) is there any existing tooling for deploying a
pex
file onto a machine? I'm thinking something like
pip
or
maven
.
e

enough-analyst-54434

11/27/2019, 3:09 PM
One of the core features of PEX files is that they are single files. The intention here is that deployment is trivial. You can just copy the PEX file where it needs to go whether that be into a docker image, scp'd to a host or curled down.
👍 1
j

jolly-midnight-72759

11/27/2019, 3:11 PM
That is why we like them so much.
❤️ 1
It is trivial to think of ways to manage versions and distributing them.
I just wanted to check if other people using them have shared tooling around doing that.
e

enough-analyst-54434

11/27/2019, 3:17 PM
Not that I'm aware of. Folks I know of tend to use existing tools like Dockerfile COPY (image), puppet (host) and curl (Mesos / Aurora).
h

happy-kitchen-89482

11/27/2019, 3:37 PM
We COPY them into our docker image, but we do this as the very last step in the build, which means that our different images share all layers except the last, which keeps builds nice and quick.
j

jolly-midnight-72759

11/27/2019, 4:42 PM
Cool. Thank you. We are not using docker. We will probably build something using
curl
. Thank you!