Update for Ubuntu 14.04. Fix Dockerfile for efficiency. Remove unused packages `wget` and `curl`.