File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed
Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -33,10 +33,11 @@ RUN apt-get -y update && apt-get install -y \
3333# Install chromedriver
3434RUN apt-get install -yqq unzip
3535RUN CHROMEDRIVER_VERSION=133.0.6943.126 && \
36- wget -O /tmp/chromedriver-linux64.zip https://storage.googleapis.com/chrome-for-testing-public/133.0.6943.126/linux64/chromedriver-linux64.zip && \
37- unzip /tmp/chromedriver-linux64.zip chromedriver -d /usr/local/bin/ && \
36+ wget -O /tmp/chromedriver-linux64.zip https://storage.googleapis.com/chrome-for-testing-public/${CHROMEDRIVER_VERSION}/linux64/chromedriver-linux64.zip && \
37+ unzip /tmp/chromedriver-linux64.zip -d /tmp && \
38+ mv /tmp/chromedriver-linux64/chromedriver /usr/local/bin/ && \
3839 chmod +x /usr/local/bin/chromedriver && \
39- rm /tmp/chromedriver-linux64.zip
40+ rm -rf /tmp/chromedriver-linux64.zip /tmp/chromedriver-linux64
4041
4142# Set display port and shared memory settings
4243ENV DISPLAY=:99
You can’t perform that action at this time.
0 commit comments