we have to update rubygems cause it may be flaky
authorSam Saffron <sam.saffron@gmail.com>
Thu, 31 Aug 2017 19:49:04 +0000 (15:49 -0400)
committerSam Saffron <sam.saffron@gmail.com>
Thu, 31 Aug 2017 19:49:04 +0000 (15:49 -0400)
image/base/Dockerfile

index 015a38db8d22b3c2e5c4b7fe4370c82f496438bd..8d5f44c098a85a50ccfe48d3f5da7ea1963e3369 100644 (file)
@@ -78,6 +78,8 @@ RUN echo 'gem: --no-document' >> /usr/local/etc/gemrc &&\
     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)
 
+RUN gem update --system
+
 RUN gem install bundler &&\
     rm -rf /usr/local/share/ri/2.3.4/system &&\
     cd / && git clone https://github.com/SamSaffron/pups.git