build-images.sh: Build agents in containers