From 7f369c3292c8deba4a50fa15b77fedffb0fa0a2c Mon Sep 17 00:00:00 2001 From: Alexey Kuzmin Date: Mon, 3 Jun 2019 20:36:59 +0200 Subject: [PATCH] build: install python-dbusmock via pip for a Docker container (#18589) * build: use python-dbusmock v0.18.1 on Linux To prevent timeout errors with some other python-dbusmock versions. * Don't use a fixed version of python-dbusmock Co-Authored-By: John Kleinschmidt --- Dockerfile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 7557d7b57d..bae76aaf3c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -16,7 +16,7 @@ RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y \ locales \ lsb-release \ nano \ - python-dbusmock \ + python-dbus \ python-pip \ python-setuptools \ sudo \ @@ -33,6 +33,9 @@ RUN curl -sL https://deb.nodesource.com/setup_10.x | bash - \ # crcmod is required by gsutil, which is used for filling the gclient git cache RUN pip install -U crcmod +# dbusmock is needed for Electron tests +RUN pip install python-dbusmock + RUN mkdir /tmp/workspace RUN chown builduser:builduser /tmp/workspace