• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1#==================
2# Ruby dependencies
3
4# Install rvm
5RUN gpg --keyserver hkp://keys.gnupg.net --recv-keys 409B6B1796C275462A1703113804BB82D39DC0E3
6RUN \curl -sSL https://get.rvm.io | bash -s stable
7
8# Install Ruby 2.1
9RUN /bin/bash -l -c "rvm install ruby-2.1"
10RUN /bin/bash -l -c "rvm use --default ruby-2.1"
11RUN /bin/bash -l -c "echo 'gem: --no-ri --no-rdoc' > ~/.gemrc"
12RUN /bin/bash -l -c "echo 'export PATH=/usr/local/rvm/bin:$PATH' >> ~/.bashrc"
13RUN /bin/bash -l -c "echo 'rvm --default use ruby-2.1' >> ~/.bashrc"
14RUN /bin/bash -l -c "gem install bundler --no-ri --no-rdoc"
15