No need to run as root
Download external binaries ahead of time outside of docker ADD command
sudo as root for docker is no longer required
sudo as root for docker is no longer required
run apt-get update for dnsmasq
sudo as root for docker is no longer required
sudo as root for docker is no longer required
don't download external files with docker ADD command
install libgfortran3 and python-numpy
refactor spark-1.0.0 for a generic build