forked from pimcore/docker
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
manually install chromium to get the latest version
- Loading branch information
1 parent
dd83b85
commit 5119dce
Showing
1 changed file
with
5 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |