2020-03-05 00:25:26 +01:00
|
|
|
FROM archlinux/base
|
|
|
|
|
2020-03-11 20:00:47 +01:00
|
|
|
ENV CHROMEDRIVER_VERSION="80.0.3987.106"
|
|
|
|
|
2020-03-04 03:23:36 +01:00
|
|
|
RUN pacman -Syu --noconfirm --needed python python-pip wget tar chromium \
|
|
|
|
&& pacman -Scc \
|
|
|
|
&& rm -rfv /var/cache/pacman/* /var/lib/pacman/sync/* \
|
|
|
|
&& pip install robotframework robotframework-seleniumlibrary \
|
2020-03-11 20:00:47 +01:00
|
|
|
&& wget -qO- https://chromedriver.storage.googleapis.com/${CHROMEDRIVER_VERSION}/chromedriver_linux64.zip | bsdtar -xvf - \
|
2020-03-04 03:23:36 +01:00
|
|
|
&& chmod -v +x chromedriver \
|
|
|
|
&& mkdir -pv /usr/local/bin \
|
|
|
|
&& mv -v chromedriver /usr/local/bin/
|