Delete ruby sources from omnibus images

This commit is contained in:
Lukas Eipert 2018-10-04 14:47:50 +02:00
parent 5380948868
commit 8c009ec586
No known key found for this signature in database
GPG key ID: 148BEA37CB35B2AC
9 changed files with 45 additions and 36 deletions

View file

@ -16,9 +16,10 @@ ENV LC_ALL en_US.UTF-8
ENV RUBY_VERSION 2.4.4
RUN curl -fsSL "https://cache.ruby-lang.org/pub/ruby/2.4/ruby-${RUBY_VERSION}.tar.gz" \
| tar -xzC /tmp \
&& cd /tmp/ruby-2.4.4 \
&& cd "/tmp/ruby-${RUBY_VERSION}" \
&& ./configure --disable-install-rdoc --disable-install-doc --disable-install-capi\
&& make \
&& make install
RUN gem install bundler --no-document
&& make install \
&& cd / \
&& rm -rf "/tmp/ruby-${RUBY_VERSION}" \
&& gem install bundler --no-document