File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -9,18 +9,20 @@ ADD files/xvfb-daemon-run /usr/bin/xvfb-daemon-run
9
9
10
10
RUN \
11
11
CHROME_VERSION="google-chrome-stable" && \
12
- CHROME_DRIVER_VERSION="2.39 " && \
12
+ CHROME_DRIVER_VERSION="2.43 " && \
13
13
apt-get update && \
14
14
apt-get dist-upgrade -y && \
15
15
apt-get install \
16
+ gnupg2 \
16
17
unzip \
17
18
xvfb \
18
19
--no-install-recommends -y && \
19
- apt-key adv --keyserver keyserver.ubuntu .com --recv-keys 1397BC53640DB551 && \
20
+ curl -sS -o - https://dl-ssl.google .com/linux/linux_signing_key.pub | apt-key add && \
20
21
echo "deb http://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google-chrome.list && \
21
22
apt-get update && apt-get install ${CHROME_VERSION} -y && \
22
23
apt-get autoclean && apt-get autoremove --purge -y && \
23
24
chmod a+x /etc/init.d/xvfb_init /usr/bin/xvfb-daemon-run && \
25
+ pip install --upgrade pip && \
24
26
pip install pyvirtualdisplay selenium && \
25
27
curl --silent https://chromedriver.storage.googleapis.com/${CHROME_DRIVER_VERSION}/chromedriver_linux64.zip -o /tmp/chromedriver_linux64.zip && \
26
28
unzip /tmp/chromedriver_linux64.zip -d /usr/local/share/ && \
You can’t perform that action at this time.
0 commit comments