Created
August 4, 2018 16:19
-
-
Save cupnoodle/dd760e5c3372005a8547d17c73bc9ef2 to your computer and use it in GitHub Desktop.
Ruby base image 2.5 + 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 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 "http://chromedriver.storage.googleapis.com/2.40/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