File tree Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -19,13 +19,17 @@ RUN apt-get update && apt-get -y install postgresql-client
19
19
# Install wget
20
20
RUN apt-get install -y wget
21
21
# Download and Install chrome
22
- RUN wget -q https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb
23
- RUN apt-get install -y ./google-chrome-stable_current_amd64.deb
22
+ # New 20230303: Pulls and installs an older version of chrome. The latest version of chrome is not compatible with the latest version of chromedriver
23
+ RUN wget http://dl.google.com/linux/chrome/deb/pool/main/g/google-chrome-stable/google-chrome-stable_108.0.5359.71-1_amd64.deb
24
+ RUN apt-get install -y ./google-chrome-stable_108.0.5359.71-1_amd64.deb
25
+ # Original before 20230303:
26
+ # RUN wget -q https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb
27
+ # RUN apt-get install -y ./google-chrome-stable_current_amd64.deb
24
28
# Check chrome version
25
29
RUN echo "Chrome: " && google-chrome --version
26
30
# Download and Install chromedriver. The version here depends on what what version of chrome gets installed above !
27
31
# The lastest chrome versions can be checked here: https://www.ubuntuupdates.org/package/google_chrome/stable/main/base/google-chrome-stable
28
- RUN wget https://chromedriver.storage.googleapis.com/110 .0.5481.77 /chromedriver_linux64.zip
32
+ RUN wget https://chromedriver.storage.googleapis.com/108 .0.5359.71 /chromedriver_linux64.zip
29
33
RUN unzip chromedriver_linux64.zip
30
34
RUN mv chromedriver /usr/bin/chromedriver
31
35
RUN chown root:root /usr/bin/chromedriver
You can’t perform that action at this time.
0 commit comments