File tree 1 file changed +4
-3
lines changed
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 \
33
33
# Install chromedriver
34
34
RUN apt-get install -yqq unzip
35
35
RUN 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/ && \
38
39
chmod +x /usr/local/bin/chromedriver && \
39
- rm /tmp/chromedriver-linux64.zip
40
+ rm -rf /tmp/chromedriver-linux64.zip /tmp/chromedriver-linux64
40
41
41
42
# Set display port and shared memory settings
42
43
ENV DISPLAY=:99
You can’t perform that action at this time.
0 commit comments