mirror of
https://github.com/servo/servo
synced 2026-04-25 17:15:48 +02:00
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 in71e0372ac1, so it's probably required for WebGPU. fonts-noto-cjk was added in2b0d2ecc73. 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:
committed by
GitHub
parent
ec513ff851
commit
6bfaab4079
@@ -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 \
|
||||
|
||||
7
python/servo/platform/linux_packages/apt/wpt.txt
Normal file
7
python/servo/platform/linux_packages/apt/wpt.txt
Normal 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
|
||||
Reference in New Issue
Block a user