Skip to navigation
Add RVM to a docker image and install a ruby version
10.12.16
RUN gpg --keyserver hkp://keys.gnupg.net --recv-keys 409B6B1796C275462A1703113804BB82D39DC0E3 RUN apt-get install -y \ wget ENV PATH /usr/local/rvm/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin RUN \curl -L https://get.rvm.io | bash -s stable RUN /bin/bash -l -c "rvm requirements" RUN /bin/bash -l -c "rvm install 2.3.1" RUN /bin/bash -l -c "gem install bundler --no-ri --no-rdoc" RUN /bin/bash -l -c "source /etc/profile"
https://coderwall.com/p/tgprsw/dockerfile-for-rvm
Reply
Anonymous
Information Epoch 1747012598
Use lower case and keep it short.
Home
Notebook
Contact us