Bug 1847046 [wpt PR 41320] - docs Dockerfile: Use python:3.11 base image, a=testonly
commit5f11d8ae8c3ce31678809e78e75540acb6baa5f9
authorRaphael Kubo da Costa <raphael.kubo.da.costa@intel.com>
Wed, 27 Sep 2023 12:03:16 +0000 (27 12:03 +0000)
committermoz-wptsync-bot <wptsync@mozilla.com>
Thu, 28 Sep 2023 14:57:37 +0000 (28 14:57 +0000)
tree993b95950011a55bb9432b5e4c5621afea3c7afb
parentc062e7fda18a887421deb4509057f3ba6c31fa2e
Bug 1847046 [wpt PR 41320] - docs Dockerfile: Use python:3.11 base image, a=testonly

Automatic update from web-platform-tests
docs Dockerfile: Use python:3.11 base image

Instead of using a somewhat old Ubuntu release as base and installing its
somewhat old Python package, use a base image that already has Python at the
same version we also use for the GitHub workflow that generates
documentation.

"python:3.11" is equivalent to the latest 3.11 release installed on Debian
bookworm (aka stable at the moment of writing).

I have tested this locally and the documentation generated locally finally
looked similar to the published version -- there seemed to be some issue
with Ubuntu 20.04's Python 3.8 and docutils and/or Sphinx that added an
extra ":" after e.g. "Arguments" in the documentation.

--

wpt-commits: 89b0e123c1d078944ee38a6e79382dbfc1accfea
wpt-pr: 41320
testing/web-platform/tests/docs/Dockerfile