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