ruby_deps.include 721 B

12345678910111213141516
  1. #==================
  2. # Ruby dependencies
  3. # Install rvm
  4. RUN apt-get update && apt-get install -y gnupg2 && apt-get clean
  5. RUN gpg2 --recv-keys 409B6B1796C275462A1703113804BB82D39DC0E3 7D2BAF1CF37B13E2069D6956105BD0E739499BDB
  6. RUN \curl -sSL https://get.rvm.io | bash -s stable
  7. # Install Ruby 2.5
  8. RUN apt-get update && apt-get install -y procps && apt-get clean
  9. RUN /bin/bash -l -c "rvm install ruby-2.5"
  10. RUN /bin/bash -l -c "rvm use --default ruby-2.5"
  11. RUN /bin/bash -l -c "echo 'gem: --no-document' > ~/.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.5' >> ~/.bashrc"
  14. RUN /bin/bash -l -c "gem install bundler --no-document -v 1.9"