update base image

- change to NGINX mainline
- update phantomjs to 1.9.8
- update ruby 2.0 to p594