What are solutions people use to distribute their ...
# pex
j
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
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
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
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
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
Cool. Thank you. We are not using docker. We will probably build something using
curl
. Thank you!