From 4bd7eb76924ce3c89c624736ecf31f5f9129899a Mon Sep 17 00:00:00 2001 From: Varac Date: Wed, 22 Nov 2017 10:35:21 +0100 Subject: [test] Ship and install latest chromedriver 2.33 I tried to upgrade to ubuntu packages chromedriver 2.32 (artful) but this didn't help. After using latest chromedriver release 2.33 from https://sites.google.com/a/chromium.org/chromedriver/downloads it works. Also, build docker image from LEAP/artful. Resolves: #9149 --- tests/docker/Dockerfile | 30 ++++++++++++++++++------------ 1 file changed, 18 insertions(+), 12 deletions(-) (limited to 'tests') diff --git a/tests/docker/Dockerfile b/tests/docker/Dockerfile index 876ba1d4..6451b6f6 100644 --- a/tests/docker/Dockerfile +++ b/tests/docker/Dockerfile @@ -1,19 +1,25 @@ -# start with a fresh image (that comes from Ubuntu 16.04 at the moment). - -FROM 0xacab.org:4567/leap/bitmask-dev:latest +FROM 0xacab.org:4567/leap/docker/ubuntu:artful_amd64 MAINTAINER LEAP Encryption Access Project -LABEL Description="Image for building bitmask-dev based on Ubuntu 16:04" Vendor="LEAP" Version="1.0" - -RUN apt-get update +LABEL Description="Image for building bitmask-dev based on Ubuntu 17:10" Vendor="LEAP" Version="1.0" # Install bitmask-dev build and test deps -RUN apt-get -y install build-essential python-virtualenv libpython-dev \ - libsqlcipher-dev libssl-dev libffi-dev python-pyqt5 python-pyqt5.qtwebkit \ - nodejs npm nodejs-legacy mocha \ +RUN apt-get update && \ + apt-get -y install --no-install-recommends \ + build-essential python-virtualenv libpython-dev \ + libsqlcipher-dev libssl-dev libffi-dev \ + python-pyqt5 python-pyqt5.qtwebkit \ + nodejs mocha \ git swaks uuid-runtime \ openvpn policykit-1 lxpolkit \ wget patchelf libusb-0.1-4 \ - docker.io \ - xvfb chromium-chromedriver -RUN ln -s /usr/lib/chromium-browser/chromedriver /usr/local/bin/chromedriver + xvfb \ + # needed for chromedriver + libgconf-2-4 chromium-browser unzip + +WORKDIR /tmp +RUN wget https://chromedriver.storage.googleapis.com/2.33/chromedriver_linux64.zip && \ + unzip chromedriver_linux64.zip && \ + cp chromedriver /usr/local/bin + +RUN /usr/local/bin/chromedriver --version -- cgit v1.2.3