mirror of
https://ops.gitlab.net/gitlab-org/gitlab-build-images.git
synced 2025-12-09 10:02:56 +01:00
Delete ruby sources from omnibus images
This commit is contained in:
parent
5380948868
commit
8c009ec586
9 changed files with 45 additions and 36 deletions
|
|
@ -13,9 +13,10 @@ RUN localedef -c -f UTF-8 -i en_US 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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue