Add builder image for openSUSE42.3

This commit is contained in:
Balasankar "Balu" C 2018-01-01 08:37:49 +05:30
parent fab84c1502
commit 70a79ecd45
2 changed files with 3 additions and 3 deletions

View file

@ -0,0 +1,21 @@
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 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.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