mirror of
https://github.com/electron/electron.git
synced 2026-04-10 03:01:51 -04:00
build: install python-dbusmock via pip for a Docker container (#18598)
* 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 <jkleinsc@github.com>
This commit is contained in:
committed by
John Kleinschmidt
parent
79764942d1
commit
e15672e13c
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user