mirror of
https://github.com/openSUSE/osem.git
synced 2026-08-13 19:54:02 +00:00
Install chromium in base image
Replace google-chrome with it, it has problems with webdrivers (DevToolsActivePort file doesn't exist) and we like to use open source anyway... We also do not need phantomjs anymore since a long time.
This commit is contained in:
parent
04616a9b24
commit
c28cb5eac4
1 changed files with 2 additions and 14 deletions
|
|
@ -1,15 +1,5 @@
|
|||
FROM opensuse/leap:15
|
||||
|
||||
# Import google packaging key for chrome
|
||||
COPY google-packaging.key /tmp
|
||||
RUN rpm --import /tmp/google-packaging.key
|
||||
|
||||
# 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 ar -f http://dl.google.com/linux/chrome/rpm/stable/x86_64 google-chrome; \
|
||||
zypper --gpg-auto-import-keys refresh
|
||||
|
||||
# Install our requirements
|
||||
RUN zypper -n install --no-recommends \
|
||||
# for compiling assets/gems
|
||||
|
|
@ -23,13 +13,11 @@ RUN zypper -n install --no-recommends \
|
|||
# for nokogiri
|
||||
libxml2-devel libxslt-devel \
|
||||
# for the interactive shell
|
||||
ack curl wget w3m vim \
|
||||
# for running our tests
|
||||
phantomjs which \
|
||||
ack curl wget w3m vim which \
|
||||
# as ruby
|
||||
ruby2.5-devel \
|
||||
# as browser for feature tests
|
||||
google-chrome-stable
|
||||
chromium
|
||||
|
||||
# Setup sudo
|
||||
RUN echo 'osem ALL=(ALL) NOPASSWD: ALL' >> /etc/sudoers
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue