This dockerfile contains the steps to create an image with Java 8, firefox and a virtual display.
Do not forget to attach the screen with the following commands after you create the image:
Xvfb -ac :0 -screen 0 1280x1024x16 &
trap 'killall -9 Xvfb' EXIT
if you are using CI you can automate attaching the screen by running shell file.
MIT License Copyright (c) 2017 Sideeq Youssef