Re:Run More Stuff in Docker
by solarengineer on Sunday December 27, 2020 @05:11PM
(#25554720)
As a Ruby, Node or Python language user, you may want to try rbenv, nodenv or pyenv respectively.
Or the ASDF version manager that covers all of them, and much more.
Both of your Python projects will likely have `python:latest` (or such) as their base image. Sure, they will diverge after that (with further layers for dependencies and your code), but at least the base system will be shared.
Even if they used python:latest (as if that is the only flavor), they're only "latest" when I do my build. So, now I have to coordinate builds and releases. Unlikely to happen, and, again, an anti-pattern.
Re:Run More Stuff in Docker
by LucasLarson on Sunday December 27, 2020 @09:29AM
(#25551250)
> If I'm a Java developer, I'm "happy"
Oh yes, it would make me "happy", too.
By the way, while I think you should run more stuff in Docker, I also think it is still totally reasonable to have your "main language stuff" installed "normally" (not in Docker). If I'm a Java developer, I'm "happy" to deal with Java's dependency b.s. on my normal system. Meanwhile, if I ever have to touch Ruby, I do not want to deal with Ruby's dependency b.s. on my normal system (rather run that in Docker). And vice versa, as I'm sure.