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
install playwright browsers as user #317
Conversation
install playwright browsers as user
have you tested it perfectly? is it working |
Yes, i have built the container numerous times - with this fix in it just builds flawlessly. |
Shouldn't it be |
install chromium deps only as root then install chromium as user saves image size & download time
playwright install --with-deps installs both deps and all browsers but requires root privileges. |
I got this while trying to run the command : playwright install --with-deps BEWARE: your OS is not officially supported by Playwright; installing dependencies for Ubuntu as a fallback. Package libicu66 is not available, but is referred to by another package. Package ttf-unifont is not available, but is referred to by another package. Package libjpeg-turbo8 is not available, but is referred to by another package. E: Package 'ttf-unifont' has no installation candidate |
@yassine017 I just rebuilt the images from scratch and couldn't reproduce your issue nevertheless there seem to be some issues installing playwright on non ubuntu systems microsoft/playwright#13530 |
Is it ready to merge? |
imho yes |
fixes #297