Sign inSign up

keyvanfatehi/chrome-xvfb

By keyvanfatehi

Updated almost 11 years ago

ubuntu 12.04 amd64 image with google-chrome-30.0.1599.101, chromedriver 2.8, Xvfb, and xvfb init script

Image
9

2.5K

keyvanfatehi/chrome-xvfb repository overview

Github Repository

This article from 2010 was really helpful, especially for the Xvfb init script and proposed use method. The slightly modified the Xvfb init script used in this image be seen in the Github repository.

Example use of the init script in tandem with a program that will utilize Xvfb, such as cucumber, is shown below.

#!/bin/bash
export DISPLAY=:99
/etc/init.d/xvfb start
rake cucumber
RESULT=$?
/etc/init.d/xvfb stop
exit $RESULT

Carrying $RESULT above is for the purposes of continuous integration as indicated in the original article that inspired this docker image.

Tag summary

Content type

Image

Digest

sha256:01ba73886

Size

446.8 MB

Last updated

almost 11 years ago

docker pull keyvanfatehi/chrome-xvfb