[Feature]: Publish Docker images containing only one browser
🚀 Feature Request
I would love to see additionally provided images which only contain one browser each, something like playwright-chromium, playwright-firefox and playwright-webkit.
Example
No response
Motivation
Using https://hub.docker.com/r/microsoft/playwright brings firefox, webkit and chrome which results in a whopping image size of ~2.24GB (v1.43). In some scenarios not all three browsers are needed and by using a smaller image we could save up some time, chache size and network traffic.
To make it complete, we should then have all possible combinations published:
-
playwright(all browsers) -
playwright-chromium -
playwright-firefox -
playwright-webkit -
playwright-chromium-firefox -
playwright-chromium-webkit -
playwright-firefox-webkit -
playwright-none(with no browsers...?)
Would be great to have. Our docker images reach 2.5Gb for a very simple spring-boot application. This can be reduced by a lot.
As a workarournd until you implement this, can you please give us some commands to run in our dockerfiles to rm the necessary files in order to keep one browser only? Is this possible in the first place?
Thanks in advance!
we have the same issue in our org. the playwright dependency currently explodes the jar/tar size and slowing down deployments when pushing the images to a remote server. In our case chrome alone would be sufficient, no need to support all browsers.
In a first iteration, I think an image without any browsers and some instruction for manually adding chrome/webkit/... would be lovely.