From dbcac032ddb84d856d046dc87c5f0d297c857d60 Mon Sep 17 00:00:00 2001 From: xxq250 Date: Thu, 11 May 2023 10:23:36 +0800 Subject: [PATCH] Update Dockerfile --- Dockerfile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Dockerfile b/Dockerfile index 1869ff31e..5ee02fadc 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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