Add some more repos/packages to the base image

This commit is contained in:
Henne Vogelsang 2018-10-10 23:30:11 +02:00 committed by James Mason
parent 7eb9c05a93
commit e2aff6a976

View file

@ -1,7 +1,9 @@
FROM opensuse/leap:15
# Disable repositories we dont need
RUN zypper rr openSUSE-Leap-15.0-Non-Oss openSUSE-Leap-15.0-Update-Non-Oss
# Enable/Disable the repositories we need/don't need
RUN zypper rr openSUSE-Leap-15.0-Non-Oss openSUSE-Leap-15.0-Update-Non-Oss \
zypper ar -f https://download.opensuse.org/repositories/devel:/tools/openSUSE_Leap_15.0/devel:tools.repo \
zypper --gpg-auto-import-keys refresh
# Install our requirements
RUN zypper -n install --no-recommends \
@ -15,6 +17,10 @@ RUN zypper -n install --no-recommends \
libmariadb-devel postgresql-devel sqlite3-devel \
# for nokogiri
libxml2-devel libxslt-devel \
# for the interactive shell
ack curl wget w3m \
# for running our tests
phantomjs which \
# as ruby
ruby2.5-devel