Upgrade Ruby to Version 2.5.2
authorSam Saffron <sam.saffron@gmail.com>
Wed, 17 Oct 2018 22:20:43 +0000 (09:20 +1100)
committerSam Saffron <sam.saffron@gmail.com>
Wed, 17 Oct 2018 22:20:43 +0000 (09:20 +1100)
(security patches are included in 2.5.2)

image/base/Dockerfile

index 9961aab4c0e0107d5769ebe0677c3fb9dacedd5f..e2d88e608978b763dcd70ab40890029d7e596abe 100644 (file)
@@ -67,12 +67,12 @@ RUN mkdir /jemalloc-new && cd /jemalloc-new &&\
 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.5.1 /usr/local)
+    cd / && rm -rf /src/ruby-build && (ruby-build 2.5.2 /usr/local)
 
 RUN gem update --system
 
 RUN gem install bundler --force &&\
-    rm -rf /usr/local/share/ri/2.5.1/system &&\
+    rm -rf /usr/local/share/ri/2.5.2/system &&\
     cd / && git clone https://github.com/discourse/pups.git
 
 ADD install-imagemagick /tmp/install-imagemagick