From 3811c5935f355ef11fe798a98ee74fb971790727 Mon Sep 17 00:00:00 2001 From: Simon Sapin Date: Fri, 6 Dec 2019 17:01:36 +0100 Subject: [PATCH] Install dependencies for the WPT update task Fix https://github.com/servo/servo/issues/25169 --- etc/taskcluster/decision_task.py | 2 +- etc/taskcluster/docker/run.dockerfile | 2 +- etc/taskcluster/docker/wpt-update.dockerfile | 5 +++++ 3 files changed, 7 insertions(+), 2 deletions(-) create mode 100644 etc/taskcluster/docker/wpt-update.dockerfile diff --git a/etc/taskcluster/decision_task.py b/etc/taskcluster/decision_task.py index 194a689a82b..6c7489e1105 100644 --- a/etc/taskcluster/decision_task.py +++ b/etc/taskcluster/decision_task.py @@ -583,7 +583,7 @@ def update_wpt(): return ( linux_task("WPT update") .with_treeherder("Linux x64", "WPT update") - .with_dockerfile(dockerfile_path("run")) + .with_dockerfile(dockerfile_path("wpt-update")) .with_features("taskclusterProxy") .with_scopes("secrets:get:project/servo/wpt-sync") .with_index_and_artifacts_expire_in(log_artifacts_expire_in) diff --git a/etc/taskcluster/docker/run.dockerfile b/etc/taskcluster/docker/run.dockerfile index 4be9181f40e..27d67d69b93 100644 --- a/etc/taskcluster/docker/run.dockerfile +++ b/etc/taskcluster/docker/run.dockerfile @@ -12,4 +12,4 @@ RUN apt-get install -qy --no-install-recommends \ libunwind8 \ # # Compiling shaders in OSMesa: - llvm \ + llvm diff --git a/etc/taskcluster/docker/wpt-update.dockerfile b/etc/taskcluster/docker/wpt-update.dockerfile new file mode 100644 index 00000000000..0a8edde7bc9 --- /dev/null +++ b/etc/taskcluster/docker/wpt-update.dockerfile @@ -0,0 +1,5 @@ +% include run.dockerfile + +RUN apt-get install -qy --no-install-recommends \ + python3 \ + jq