Change image of opensuse 42.1 to 42.2

This commit is contained in:
Balasankar C 2017-06-12 14:54:00 +05:30
parent 0effba54c6
commit f7971e9a3d
No known key found for this signature in database
GPG key ID: 96EDAB9B2E6B7171
2 changed files with 3 additions and 4 deletions

View file

@ -0,0 +1,16 @@
FROM opensuse:42.2
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