I'm working on Python Pod to do one main job. However, for a single step, I need different versions of Ruby, so instead of installing all ruby versions in the "main" python container, I was wondering if I can install a version of ruby per container and then use one of those ruby containers as a sidecar. The idea comes from this use case of the Ruby Docker image
docker run -it --rm --name my-running-script -v "$PWD":/usr/src/myapp -w /usr/src/myapp ruby:2.5 ruby your-daemon-or-script.r
so I was wondering if we can translate that line to "kubernetes lingo"