Update Dockerfile

This commit is contained in:
xxq250 2023-05-11 10:23:36 +08:00
parent 85dfa731c4
commit dbcac032dd
1 changed files with 2 additions and 0 deletions

View File

@ -8,6 +8,8 @@ RUN openssl version
RUN which openssl
# install RVM, Ruby, and Bundler
RUN \curl -L https://get.rvm.io | bash -s stable
# rvm environment variable
RUN /bin/bash -l -c "source /etc/profile.d/rvm.sh"
RUN /bin/bash -l -c "rvm requirements"
# replace ruby mirror url, accelerate install ruby
RUN sed -i 's/rvm_remote_server_url2/#rvm_remote_server_url2/g' /usr/local/rvm/config/db