elgalu / docker-selenium

[NOT MAINTAINED] Please use <https://github.com/SeleniumHQ/docker-selenium>
https://github.com/SeleniumHQ/docker-selenium
Other
1.42k stars 333 forks source link

Unable to build images for older versions of Chrome #302

Closed remeltucker closed 5 years ago

remeltucker commented 5 years ago

Please make sure that the boxes below are checked before you submit your issue. Thank you!

Operating System

Docker version

Docker-Compose

(if using docker-compose)

Question -Is there a way to build the image for older versions of chrome? I am currently having the dockerfile for 3.141.59-p2 and tried rebuilding after adding ENV params. It fails since current version of chrome is higher than the one specified in the dockerfile. Does updating ARG EXPECTED_CHROME_VERSION and commenting out the line where it compares latest version vs expected version help?

diemol commented 5 years ago

@remeltucker some work is needed on your side because Google does not keep a repository with all the versions available. So you need to modify the Dockerfile and use a Google installer for the version you need. Now, for that you can search and find an installed around the internet or you could check the releases https://github.com/elgalu/docker-selenium/releases and see that the Chrome deb package is kept there, so you could also use that one.

remeltucker commented 5 years ago

Thanks @diemol .Appreciate your response.