Last active
January 2, 2016 03:19
-
-
Save kfatehi/8243530 to your computer and use it in GitHub Desktop.
Dockerfile with Xvfb, Chromedriver
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
# Xvfb, Google Chrome, Chromedriver, Ruby, Node.js, Redis, Mongo | |
FROM ubuntu:12.04 | |
MAINTAINER Keyvan Fatehi <[email protected]> | |
RUN apt-get update -y -q | |
RUN apt-get install -y -q unzip xvfb libgtk2.0-0 libnss3 libgconf-2-4 | |
# fix https://code.google.com/p/chromium/issues/detail?id=318548 | |
#RUN mkdir -p /usr/share/desktop-directories | |
#RUN apt-get install -y -q xfonts-100dpi xfonts-75dpi xfonts-scalable xfonts-cyrillic | |
# Add Chromedriver 2.8 | |
ADD http://chromedriver.storage.googleapis.com/2.8/chromedriver_linux64.zip /srv/ | |
RUN unzip /srv/chromedriver_linux64.zip -d /usr/local/bin | |
# also want Ruby, Node.js, Redis, Mongo |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment