-
Notifications
You must be signed in to change notification settings - Fork 3.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Feature] Enhance Debian 11 support especially with WebKit #3167
Comments
Thanks for looking into this folks. I have a project that specified playwright with a caret |
I'm currently also trying to get WebKit running in a Debian container. I managed to install all required dependencies, but as mentioned above, the page crashes:
Are there any WebKit logs to further debug this? |
@jaylinski unfortunately until now there is no way to run headless WebKit on Debian. As a workaround you can use |
same error |
@mxschmitt @aslushnikov we are facing a similar issue in our Jenkins CI with the below error. This is blocking our tests to run on WebKit and Firefox browses. Do you have any workaround?
|
Woah. I'm a little bit confused. In many years it's the first time being in this situation, when the installation instructions are missing and I don't see any alternative. As a developer using Debian, what exactly am I supposed to do regarding this issue? I should compile libjpeg and libicu60 myself and then only use headful runs, right? |
OK. Reporting back. I pulled |
Taking @AlexDaniel's report and automating it, I have the following working using In {
...
"onCreateCommand": "./.devcontainer/on-create.sh",
...
} Create an #!/bin/bash
sudo apt-get update
packages=(
"http://archive.ubuntu.com/ubuntu/pool/main/libj/libjpeg-turbo/libjpeg-turbo8_2.0.3-0ubuntu1_amd64.deb"
"http://archive.ubuntu.com/ubuntu/pool/main/i/icu/libicu66_66.1-2ubuntu2_amd64.deb"
"http://ftp.de.debian.org/debian/pool/main/e/enchant/libenchant1c2a_1.6.0-11.1+b1_amd64.deb"
)
for package in ${packages[@]}; do
wget -O /tmp/$(basename $package) $package
sudo apt-get install -fy /tmp/$(basename $package)
done
npx playwright install-deps Ensure your
Notes
|
So after 1.21.1 update, dist beside ubuntu will blocked completely. Is this something really needed by upstream move? Gonna update the package list needed.
|
@martadinata666 this was done by accident in 1.21.0, but was reverted and should be working as before in 1.21.1. What's not working for you? |
i can't use |
I ran
|
And install using
|
@mxschmitt that is fantastic news! Thank you very much! ❤️ ❤️ ❤️ |
Turns out this is not fixed yet! |
Users often use the official Node.js or Python images as Docker base images which are based on Debian (latest - 10) or only officially available with Debian based builds. GitHub Codespaces with Python (since official Python docker image) uses Debian as well. Currently we neither provide an official Dockerfile which can be used for Debian 10 nor it does work fully there since users have to compile
libjpeg
themselves andlibicu60
is not available in their apt repos either.If they use e.g. the Ubuntu deb package of
libicu60
or compile it themselves from source, the headful (xvfb-run
) WebKit variant works but the headless variant crashes.Related issues:
libjpeg
needs to be compiled from sourceBuilding WebKit on Debian 10:
When the built binaries will be used from the separate build, then it works fine. Used these requirements:
Next steps
node:*-buster
needs to be used because Node default images use Debian 9. Not sure how complicated it is to make them Debian 9 compatible too.The text was updated successfully, but these errors were encountered: