Skip to content

Commit

Permalink
manually install chromium to get the latest version
Browse files Browse the repository at this point in the history
  • Loading branch information
dpfaffenbauer committed Mar 27, 2020
1 parent dd83b85 commit 5119dce
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions test-Dockerfile-block-1
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
RUN apt-get update && apt-get install -y --no-install-recommends \
chromium \
&& apt-get autoremove -y \
&& apt-get remove -y autoconf automake libtool nasm make pkg-config libz-dev build-essential g++ \
&& apt-get clean; rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* /usr/share/doc/* ~/.composer
RUN VERSION=$(curl --location --fail --retry 10 http://chromedriver.storage.googleapis.com/LATEST_RELEASE) \
wget -c -nc --retry-connrefused --tries=0 https://chromedriver.storage.googleapis.com/${VERSION}/chromedriver_linux64.zip \
unzip -o -q chromedriver_linux64.zip \
mv chromedriver /usr/local/bin/chromedriver \
rm chromedriver_linux64.zip

0 comments on commit 5119dce

Please sign in to comment.