Wait for database boot, and add support to pull images on install