Skip to content

Commit 8d7c9e6

Browse files
committed
Fix the failed python3 build
1 parent 7267a6d commit 8d7c9e6

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

Dockerfile

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,18 +9,20 @@ ADD files/xvfb-daemon-run /usr/bin/xvfb-daemon-run
99

1010
RUN \
1111
CHROME_VERSION="google-chrome-stable" && \
12-
CHROME_DRIVER_VERSION="2.39" && \
12+
CHROME_DRIVER_VERSION="2.43" && \
1313
apt-get update && \
1414
apt-get dist-upgrade -y && \
1515
apt-get install \
16+
gnupg2 \
1617
unzip \
1718
xvfb \
1819
--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 && \
2021
echo "deb http://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google-chrome.list && \
2122
apt-get update && apt-get install ${CHROME_VERSION} -y && \
2223
apt-get autoclean && apt-get autoremove --purge -y && \
2324
chmod a+x /etc/init.d/xvfb_init /usr/bin/xvfb-daemon-run && \
25+
pip install --upgrade pip && \
2426
pip install pyvirtualdisplay selenium && \
2527
curl --silent https://chromedriver.storage.googleapis.com/${CHROME_DRIVER_VERSION}/chromedriver_linux64.zip -o /tmp/chromedriver_linux64.zip && \
2628
unzip /tmp/chromedriver_linux64.zip -d /usr/local/share/ && \

0 commit comments

Comments
 (0)