Closed bboydflo closed 3 years ago
Hi @bboydflo ๐
Thanks for submitting this issue.
First of all, please notice that this project aims to create a tiny Docker image with an embed Chromium.
In my Dockerfile
example, I don't want to download and install another Chromium in the with-puppeteer
version because my Docker image aldreay got one Chromium up and ready.
Please see this folder: https://github.com/Zenika/alpine-chrome/tree/master/with-puppeteer
I see your last comment
Bottom line I would like to try a working example of Dockerfile based on alpine linux that uses the chromium version that comes in with puppeteer.
You have an example here: https://github.com/puppeteer/puppeteer/blob/26fa363443b5929e25ae39c38a7627513928b887/docs/troubleshooting.md#running-on-alpine FYI, Alpine seems to not support the last Chromium x puppeteer version. If you have problems with puppeteer, you should create an issue on https://github.com/puppeteer/puppeteer
I hope this helps. ๐
Thanks!
My motivation is to use the version of chromium that comes in with puppeteer so that I can control the exact chromium version. As you said I think there are issues with the latest chromium on alpine.
Will close this for now.
Thanks for your reply @bboydflo ๐
Thank you for this project!
Context
I am trying to use puppeteer inside an alpine linux image and steer the chromium version that comes with puppeteer. For some reason I get some issues, something like this:
(using the latest version of puppeteer as of now 6.0)
Also I am not sure why most if not all the
Dockerfile
examples I saw are skipping downloading chromium version that comes in with puppeteer.Alternatives
I can achieve what I need by defining a couple of envionment variables inside Dockerfile
Has the feature been requested before?
Not sure.
If the feature request is accepted, would you be willing to submit a PR?
Yes
Bottom line I would like to try a working example of Dockerfile based on alpine linux that uses the chromium version that comes in with puppeteer.
Thanks!