Re:Docker is a dangerous gamble
by viraptor on Monday May 14, 2018 @09:08AM
(#17065131)
And the funny part is that currently the easiest way to build against an older/different version of the OS without being forced into the "prod env = dev env" situation is... to use docker or any other container solution.
[ Parent
| on HN ]
I would think that knowing the libc limitation were a problem, running builds on a server with this older libc version would be a possibility.
I’ve done what you mention with Docker and alpine builds (for alpine Python wheels, for example) but honestly it’s a lot more painful to ssh into running containers when figuring out the build script than it is to just throw up a clean VM.
Sure, it's possible. But I don't think it's easier. You get into all kinds of path/rpath fun and the worst thing is that things may work but you end up using the wrong environment by accident. Chroot could help, but docker has it all nicely wrapped up with the tooling.