5 ms·
I use docker for my build system for this very reason, as my chain depends on a difficult to install Autodesk SDK, which requires a very specific version of Pyt
by zeta0134 9y ago
I use docker for my build system for this very reason, as my chain depends on a difficult to install Autodesk SDK, which requires a very specific version of Python. I don't expect it to work properly on most modern Linux distributions without virtualenv and other advanced trickery, and there's not even a chance on Windows. With Docker though, once I had the environment set up, unfamiliar newcomers on the three major platforms can then compile and run the project with minimal fuss.
(Of course, in the future I'll be working to remove that odd dependency entirely, but for now, this works.)
It helps that in my particular case, the build _target_ is an embedded platform, so I don't need to worry about native details in the final executable; hiding the environmental details in the container doesn't matter all that much.
- xtrapolate 8y agoI'd personally just prepare a small VirtualBox image with everything required to build the code, and release that instead.
- azernik 9y agoMe too - though for me the installation tools are fairly standard (SBT + npm), it's still like 10-ish steps. Docker's basically a vehicle for safely running apt-get in a script on all my developers' machines.