gitlab-build-images/Dockerfile.omnibus-gitlab-opensuse42.3
Balasankar "Balu" C 8841aa79c3 Bump ruby to 2.4.4
2018-06-16 20:59:16 +05:30

21 lines
648 B
Groff

FROM opensuse:42.3
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 gcc-c++ git make curl zlib-devel libopenssl-devel glibc-i18ndata glibc-locale
ENV LANG en_US.UTF-8
ENV LC_ALL en_US.UTF-8
ENV LANGUAGE en_US:en
RUN localedef -i en_US -f UTF-8 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 \
&& ./configure --disable-install-rdoc --disable-install-doc --disable-install-capi\
&& make \
&& make install
RUN gem install bundler