Optimize ubuntu image with tips

Updated the instructions for creating a base ubuntu image with the tips from #824