Fixed typos in build API
Changed docker build image to use git for downloading source