Optimize stable-ubuntu14.04 Dockerfile