Files
openstack-helm-images/osh-selenium/Dockerfile.opensuse_15
Itxaka d0c35485ac Add SUSE image for Selenium to be used in helm tests
This adds a SUSE image that includes Selenium and the google chrome
headless driver for use in helm tests for charts with a GUI

Change-Id: I3b5a85894faf5ea98c50f42f7561c4d95b8b9932
2019-06-05 10:05:54 +02:00

21 lines
684 B
Docker

FROM opensuse/leap:15.0
LABEL maintainer="cloud-devel@suse.com"
COPY linux_signing_key.pub /tmp/
RUN rpm --import /tmp/linux_signing_key.pub
RUN rm /tmp/linux_signing_key.pub
RUN zypper --non-interactive addrepo http://dl.google.com/linux/chrome/rpm/stable/x86_64 google_chrome
RUN set -ex ;\
zypper --non-interactive refresh ;\
zypper --non-interactive up -y ;\
zypper --non-interactive install -y python-pip unzip wget google-chrome-stable
RUN /usr/bin/pip install selenium
RUN wget --directory-prefix=/tmp/ https://chromedriver.storage.googleapis.com/2.44/chromedriver_linux64.zip \
&& unzip /tmp/chromedriver_linux64.zip -d /etc/selenium
RUN zypper clean -a