A new user interface for you! Read more...

File Dockerfile of Package frontend-base

#!BuildTag: openbuildservice/frontend-base
FROM openbuildservice/base

RUN zypper install -y sphinx phantomjs mariadb-client mysql-devel sqlite3-devel \ 
    git-core ruby2.5-devel cyrus-sasl-devel openldap2-devel libxml2-devel zlib-devel libxslt-devel \ 
    perl-XML-Parser libffi48-devel autoconf ruby2.5-rubygem-bundler ruby2.5-rubygem-foreman ncurses-utils nodejs6 npm6
    
RUN for i in ruby gem irb; do ln -s /usr/bin/$i.ruby2.5 /usr/local/bin/$i; done

ADD Gemfile /obs/src/api/Gemfile
ADD Gemfile.lock /obs/src/api/Gemfile.lock
ADD vendor/* /obs/src/api/vendor/cache
RUN chown -R frontend /obs/src/api

USER frontend
WORKDIR /obs/src/api

RUN export NOKOGIRI_USE_SYSTEM_LIBRARIES=1; bundle install --local --jobs=3 --retry=3 || bundle install --local --jobs=3 --retry=3
RUN rm -rf /obs/src/api/vendor/cache

USER root
CMD ["/bin/bash", "-l"]