Use cache in build-images.sh