bootstrap/devcontainer: Install required packages for wpt. (#44109)

Based on our linux-wpt.yml workflow update our bootstrap and
devcontainer package list.
This should make the local environment closer to our CI environment when
running WPT. We only purge the droid font in the devcontainer, since we
shouldn't purge packages for the user.


mesa-vulkan-drivers was added in
71e0372ac1, so it's probably required for
WebGPU.
fonts-noto-cjk was added in 2b0d2ecc73.

In both cases no reason was given why it can't be in bootstrap, so
presumably its just an oversight.

Testing: bootstrap is ran in CI, and the packages were already being
installed by the wpt workflow.

Signed-off-by: Jonathan Schwender <schwenderjonathan@gmail.com>
This commit is contained in:
Jonathan Schwender
2026-04-11 18:21:43 +02:00
committed by GitHub
parent ec513ff851
commit 6bfaab4079
2 changed files with 10 additions and 0 deletions

View File

@@ -14,6 +14,9 @@ RUN apt-get update \
&& /tmp/linux_packages/generate_pkg_list.sh /tmp/linux_packages/apt/* | xargs apt-get install -y --no-install-recommends \
&& curl --version
# Required due to https://github.com/servo/servo/issues/35029
RUN apt purge -y fonts-droid-fallback
# Please keep `RUST_VERSION` in sync with the `rust-toolchain.toml` file.
ENV RUSTUP_HOME=/usr/local/rustup \
CARGO_HOME=/usr/local/cargo \

View File

@@ -0,0 +1,7 @@
# The following packages are required by wpt:
# TODO: What is this required for? `linux-wpt.yml` workflow installs it.
mesa-vulkan-drivers
# https://github.com/servo/servo/issues/41044
fonts-noto-cjk
# https://github.com/servo/servo/issues/41043
fonts-dejavu-extra