Remove bundler from install

This commit is contained in:
Stan Hu 2019-09-05 14:03:09 -07:00
parent 92d39a46c2
commit 2c0ce46b6f
7 changed files with 8 additions and 13 deletions

View file

@ -22,5 +22,4 @@ RUN curl -fsSL "https://cache.ruby-lang.org/pub/ruby/2.6/ruby-${RUBY_VERSION}.ta
&& make install \ && make install \
&& cd / \ && cd / \
&& rm -rf "/tmp/ruby-${RUBY_VERSION}" \ && rm -rf "/tmp/ruby-${RUBY_VERSION}" \
&& gem update --system ${RUBYGEMS_VERSION} --no-document \ && gem update --system ${RUBYGEMS_VERSION} --no-document
&& gem install bundler --no-document

View file

@ -23,5 +23,4 @@ RUN curl -fsSL "https://cache.ruby-lang.org/pub/ruby/2.6/ruby-${RUBY_VERSION}.ta
&& make install \ && make install \
&& cd / \ && cd / \
&& rm -rf "/tmp/ruby-${RUBY_VERSION}" \ && rm -rf "/tmp/ruby-${RUBY_VERSION}" \
&& gem update --system ${RUBYGEMS_VERSION} --no-document \ && gem update --system ${RUBYGEMS_VERSION} --no-document
&& gem install bundler --no-document

View file

@ -20,5 +20,4 @@ RUN curl -fsSL "https://cache.ruby-lang.org/pub/ruby/2.6/ruby-${RUBY_VERSION}.ta
&& make install \ && make install \
&& cd / \ && cd / \
&& rm -rf "/tmp/ruby-${RUBY_VERSION}" \ && rm -rf "/tmp/ruby-${RUBY_VERSION}" \
&& gem update --system ${RUBYGEMS_VERSION} --no-document \ && gem update --system ${RUBYGEMS_VERSION} --no-document
&& gem install bundler --no-document

View file

@ -20,5 +20,4 @@ RUN curl -fsSL "https://cache.ruby-lang.org/pub/ruby/2.6/ruby-${RUBY_VERSION}.ta
&& make install \ && make install \
&& cd / \ && cd / \
&& rm -rf "/tmp/ruby-${RUBY_VERSION}" \ && rm -rf "/tmp/ruby-${RUBY_VERSION}" \
&& gem update --system ${RUBYGEMS_VERSION} --no-document \ && gem update --system ${RUBYGEMS_VERSION} --no-document
&& gem install bundler --no-document

View file

@ -22,5 +22,4 @@ RUN curl -fsSL "https://cache.ruby-lang.org/pub/ruby/2.6/ruby-${RUBY_VERSION}.ta
&& make install \ && make install \
&& cd / \ && cd / \
&& rm -rf "/tmp/ruby-${RUBY_VERSION}" \ && rm -rf "/tmp/ruby-${RUBY_VERSION}" \
&& gem update --system ${RUBYGEMS_VERSION} --no-document \ && gem update --system ${RUBYGEMS_VERSION} --no-document
&& gem install bundler --no-document

View file

@ -21,5 +21,4 @@ RUN curl -fsSL "https://cache.ruby-lang.org/pub/ruby/2.6/ruby-${RUBY_VERSION}.ta
&& make install \ && make install \
&& cd / \ && cd / \
&& rm -rf "/tmp/ruby-${RUBY_VERSION}" \ && rm -rf "/tmp/ruby-${RUBY_VERSION}" \
&& gem update --system ${RUBYGEMS_VERSION} --no-document \ && gem update --system ${RUBYGEMS_VERSION} --no-document
&& gem install bundler --no-document

View file

@ -12,6 +12,7 @@ ENV LANGUAGE en_US:en
RUN localedef -i en_US -f UTF-8 en_US.UTF-8 RUN localedef -i en_US -f UTF-8 en_US.UTF-8
ENV RUBY_VERSION 2.6.3 ENV RUBY_VERSION 2.6.3
ENV RUBYGEMS_VERSION 3.0.6
RUN curl -fsSL "https://cache.ruby-lang.org/pub/ruby/2.6/ruby-${RUBY_VERSION}.tar.gz" \ RUN curl -fsSL "https://cache.ruby-lang.org/pub/ruby/2.6/ruby-${RUBY_VERSION}.tar.gz" \
| tar -xzC /tmp \ | tar -xzC /tmp \
&& cd "/tmp/ruby-${RUBY_VERSION}" \ && cd "/tmp/ruby-${RUBY_VERSION}" \
@ -20,4 +21,4 @@ RUN curl -fsSL "https://cache.ruby-lang.org/pub/ruby/2.6/ruby-${RUBY_VERSION}.ta
&& make install \ && make install \
&& cd / \ && cd / \
&& rm -rf "/tmp/ruby-${RUBY_VERSION}" \ && rm -rf "/tmp/ruby-${RUBY_VERSION}" \
&& gem install bundler --no-document && gem update --system ${RUBYGEMS_VERSION} --no-document