Zenika / alpine-chrome

Chrome Headless docker images built upon alpine official image
https://hub.docker.com/r/zenika/alpine-chrome
Apache License 2.0
1.78k stars 239 forks source link

Puppeteer version out of sync with Chromium #247

Closed robertbullen closed 2 months ago

robertbullen commented 4 months ago

Describe the bug

According to the README's How to use with Puppeteer section, this project follows Puppeteer's version mapping, but that doesn't appear to be the case.

To Reproduce

Execute the following:

docker run --rm -it zenika/alpine-chrome:with-puppeteer sh -c 'chromium --version && npm list puppeteer'

Note the output:

Chromium 122.0.6261.128 Alpine Linux
zenika-alpinechrome-withpuppeteer@1.0.0 /usr/src/app
`-- puppeteer@13.5.2

What is the expected behavior?

According to the version mapping, Puppeteer should be v22.5.0.

What is the actual behavior?

Puppeteer is v13.5.2.

Possible solution

Update the with-puppeteer subproject's dependencies to specify the correct Puppeteer version.

Logs

N/A.

Versions

Software Version(s) How-to
Chromium Chromium 122.0.6261.128 Alpine Linux docker container run -it --rm --entrypoint "" zenika/alpine-chrome chromium-browser --version
Image 8c88d61b7e7f627e44fdad3d4e681d71dc2fddcf22f2e3602a65622f76ffef44 docker image inspect --format='{{index .RepoDigests 0}}' zenika/alpine-chrome
Docker Engine 25.04 docker version

Additional context

Add any other context about the problem here.