Example build process for automating image optimization