Remove rvm in Dockerfile
I want to run the DockerImage in Openshift with another usercontext as root. The command /bin/bash -l -c license_finder doesn't work.
The problem is that you use bin/bash -l that is rvm
https://stackoverflow.com/questions/21895523/why-do-i-have-to-use-bash-l-c-inside-my-container
We have created an issue in Pivotal Tracker to manage this. Unfortunately, the Pivotal Tracker project is private so you may be unable to view the contents of the story.
The labels on this github issue will be updated when the story is started.
@hupling We use rvm to easily install a specific version of ruby. Do you have a proposed change for the dockerfile? Im not sure how this would affect the existing license finder use cases if we made a change like this
Gitlab did it like that https://gitlab.com/gitlab-org/security-products/analyzers/license-finder/-/blob/main/Dockerfile
There doesn't seem to be a way to version ruby with that method. They are only versioning bundler