Reduce unnecessary concurrent github curls (#2865)

Nightly image builds are failing because the curl command to get the
latest build tool versions are 404ing. This commit attempts to fix that
issue by consolidating all of the separate calls into one call in
build.sh.
9 files changed