Created
March 27, 2019 17:53
-
-
Save cupnoodle/57aaf17f61832ce2862a07ce10f55f9c to your computer and use it in GitHub Desktop.
ruby chrome dockerfile
This file contains hidden or 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
FROM ruby:2.5.0 | |
RUN apt-get update && apt-get install -y --no-install-recommends wget xvfb xauth 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.list \ | |
&& apt-get update -y \ | |
&& apt-get install -y google-chrome-stable \ | |
&& wget -q --continue -P /usr/local/bin "https://chromedriver.storage.googleapis.com/73.0.3683.68/chromedriver_linux64.zip" \ | |
&& unzip /usr/local/bin/chromedriver* -d /usr/local/bin \ | |
&& rm /usr/local/bin/chromedriver*.zip \ | |
\ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment