added depth for git clone in the Dockerfile

Only clone the latest commit instead of the whole history.