summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/docker/Dockerfile30
1 files changed, 18 insertions, 12 deletions
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 <info@leap.se>
-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