Skip to content
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

[Question]: is a slim/Alpine build worth it? #1770

Closed
robertlagrant opened this issue Feb 20, 2023 · 1 comment
Closed

[Question]: is a slim/Alpine build worth it? #1770

robertlagrant opened this issue Feb 20, 2023 · 1 comment

Comments

@robertlagrant
Copy link

Your question

Is it worth adding slimmer builds? The image is quite heavy due to the unavoidable browser install sizes; I wondered if some space could be shaved off if the base images were a little lighter.

@mxschmitt
Copy link
Member

Alpine Linux is not supported, only Debian and Ubuntu. If you want a smaller image, you can install just the deps / browsers for a single browser via python -m playwright install chromium --with-deps and use a Debian 11 image directly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants