mirror of
https://ops.gitlab.net/gitlab-org/gitlab-build-images.git
synced 2025-12-09 18:12:55 +01:00
17 lines
607 B
Groff
17 lines
607 B
Groff
FROM opensuse:42.1
|
|
|
|
#RUN zypper addrepo http://download.opensuse.org/repositories/devel:/tools/openSUSE_Leap_42.1/ develtools
|
|
RUN zypper -q -n --gpg-auto-import-keys update
|
|
RUN zypper -q -n in -t pattern devel_perl devel_basis
|
|
RUN zypper -q -n install \
|
|
gcc git make curl zlib-devel libopenssl-devel
|
|
|
|
ENV RUBY_VERSION 2.3.3
|
|
RUN curl -fsSL "https://cache.ruby-lang.org/pub/ruby/2.3/ruby-${RUBY_VERSION}.tar.gz" \
|
|
| tar -xzC /tmp \
|
|
&& cd /tmp/ruby-2.3.3 \
|
|
&& ./configure --disable-install-rdoc --disable-install-doc --disable-install-capi\
|
|
&& make \
|
|
&& make install
|
|
|
|
RUN gem install bundler
|