Upgrade Dockerfile to ubuntu:14.04 and use packages