Slightly related...

Such a build could in theory be easily turned into a docker image too using
the relatively new Jib tool from Google:

https://cloudplatform.googleblog.com/2018/07/introducing-jib-build-java-docker-images-better.html




On Fri, Jul 6, 2018 at 12:57 AM, Mike Percy <mpe...@apache.org> wrote:

> On Thu, Jul 5, 2018 at 1:34 PM Todd Lipcon <t...@cloudera.com.invalid>
> wrote:
>
> > In many cases, builds done on earlier systems are runnable on newer
> > systems. For example, el6 builds tend to run fine on el7 and ubuntu 14 in
> > my experience. If you also bundle the libssl and libcrypto, it seems that
> > an el6 build can also run on Ubuntu 16. So, assuming we could package
> more
> > than one binary in the artifact, packaging the shared libraries and
> setting
> > RPATH or LD_LIBRARY_PATH accordingly is probably a reasonable option to
> run
> > across most common Linux variants.
>
>
> Cool idea. We could do a fully dynamic build, ship all the dynamic deps
> with hacked rpaths, and likely save some space in the tarball along the
> way. It's worth trying out.
>
> Mike
>

Reply via email to