Upgrade to Ruby 2.4.2.
authorGuo Xiang Tan <tgx_world@hotmail.com>
Fri, 15 Sep 2017 00:27:27 +0000 (08:27 +0800)
committerGuo Xiang Tan <tgx_world@hotmail.com>
Fri, 15 Sep 2017 00:27:27 +0000 (08:27 +0800)
image/base/Dockerfile

index 8d5f44c098a85a50ccfe48d3f5da7ea1963e3369..47bb9772a6b6f21e951a77196aad26261eeefda0 100644 (file)
@@ -76,12 +76,12 @@ ADD rb_thread_fd_close.patch /tmp/rb_thread_fd_close.patch
 RUN echo 'gem: --no-document' >> /usr/local/etc/gemrc &&\
     mkdir /src && cd /src && git clone https://github.com/sstephenson/ruby-build.git &&\
     cd /src/ruby-build && ./install.sh &&\
-    cd / && rm -rf /src/ruby-build && (ruby-build 2.3.4 /usr/local --patch << /tmp/rb_thread_fd_close.patch)
+    cd / && rm -rf /src/ruby-build && (ruby-build 2.4.2 /usr/local --patch << /tmp/rb_thread_fd_close.patch)
 
 RUN gem update --system
 
 RUN gem install bundler &&\
-    rm -rf /usr/local/share/ri/2.3.4/system &&\
+    rm -rf /usr/local/share/ri/2.4.2/system &&\
     cd / && git clone https://github.com/SamSaffron/pups.git
 
 ADD install-imagemagick /tmp/install-imagemagick