
This PS updates all dockerfiles to allow base image over-rides as required by many consumers of OSH. Change-Id: I53daac9c1ec4707628565abc912116d8997eba16 Signed-off-by: Andrii Ostapenko <andrii.ostapenko@att.com>
22 lines
701 B
Docker
22 lines
701 B
Docker
ARG FROM=opensuse/leap:15.0
|
|
FROM ${FROM}
|
|
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
|