Skip to content
This repository has been archived by the owner on Feb 12, 2024. It is now read-only.

Commit

Permalink
Browse files Browse the repository at this point in the history
Install Chromedriver in the sitespeed layer
Lets move Chromedriver to the sitespeed layer to make Chrome and both
browsers re-usable for the coming sitespeed.io 4.0
  • Loading branch information
soulgalore committed Apr 14, 2016
1 parent 690d7fd commit 3d12e34
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 5 deletions.
5 changes: 5 additions & 0 deletions all/Dockerfile
Expand Up @@ -16,6 +16,11 @@ git \
libicu52 \
nodejs \
build-essential --no-install-recommends && \
wget -N http://chromedriver.storage.googleapis.com/2.20/chromedriver_linux64.zip && \
unzip chromedriver_linux64.zip && \
rm chromedriver_linux64.zip && \
chmod +x chromedriver && \
mv -f chromedriver /usr/bin/chromedriver && \
npm set progress=false && \
npm install -g sitespeed.io && npm cache clean && \
apt-get purge -y curl git build-essential && \
Expand Down
5 changes: 0 additions & 5 deletions browsers/chrome/Dockerfile
Expand Up @@ -13,11 +13,6 @@ apt-get update && \
apt-get install -y wget unzip && \
wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | apt-key add - && \
echo "deb http://dl.google.com/linux/chrome/deb/ stable main" > /etc/apt/sources.list.d/google-chrome.list && \
wget -N http://chromedriver.storage.googleapis.com/2.20/chromedriver_linux64.zip && \
unzip chromedriver_linux64.zip && \
rm chromedriver_linux64.zip && \
chmod +x chromedriver && \
mv -f chromedriver /usr/bin/chromedriver && \
apt-get update && apt-get install -y \
ca-certificates \
libgl1-mesa-dri \
Expand Down
5 changes: 5 additions & 0 deletions chrome/Dockerfile
Expand Up @@ -14,6 +14,11 @@ git \
libicu52 \
nodejs \
build-essential --no-install-recommends && \
wget -N http://chromedriver.storage.googleapis.com/2.20/chromedriver_linux64.zip && \
unzip chromedriver_linux64.zip && \
rm chromedriver_linux64.zip && \
chmod +x chromedriver && \
mv -f chromedriver /usr/bin/chromedriver && \
npm set progress=false && \
npm install -g sitespeed.io && npm cache clean && \
apt-get purge -y curl git build-essential && \
Expand Down

0 comments on commit 3d12e34

Please sign in to comment.