This image is heavily based on http://fabiorehm.com/blog/2014/09/11/running-gui-apps-with-docker/. Kudos to @fgrehm.
$ sudo docker run -it -e DISPLAY -v /tmp/.X11-unix:/tmp/.X11-unix batmat/docker-eclipse
$ sudo docker build -t batmat/docker-eclipse