-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Issue 704: Adding enabling and disabling of RBENV and RVM packages #1333
base: main
Are you sure you want to change the base?
Conversation
…les added to devcontainer.json
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Some comments on initial review.
So reviewing this - the changes look good... but one thing that is flummoxing me is it still seems like somehow rvm is getting sourced when I set |
Ah - found it. It looks like rvm is installing a file at I suspect this will need to have the same condition added to it. |
I'm not sure exactly how this works. Do you mean modifying the |
@KanishkT123 Yeah, that is a reasonable way to handle it I think. I don't think this originally happened but got added somewhere along the way by the rvm installer. |
Work Item ID
Description
Allows for RBENV and RVM tools to be enabled or disabled in the Ruby dev container.
PR Checklist
Does this introduce a breaking change?
Testing
Other information or known dependencies
PR has been reviewed and approved internally by @juzuluag , @bderusha and
@dnastrain
ruby-debian.sh
script that modifies thebashrc
andzshrc
files in a devcontainer to allow conditional enabling ofrbenv
andrvm
.devcontainer.json
to include two new ENV Variables for built containers:RBENV_ENABLED
andRVM_ENABLED
which are read by thebashrc
andzshrc
to enable/disable RBENV and RVMrbenv
andrvm
inbase.Dockerfile
in order to reduce workflow disruption.rbenv
andrvm
indevcontainer.json
in order to reduce tooling overhead for devcontainer users.