getsentry / raven-go

Sentry client in Go
https://sentry.io
BSD 3-Clause "New" or "Revised" License
561 stars 148 forks source link

Use relative path in git submodule to bypass errors when fetch repos in docker #165

Closed haosdent closed 6 years ago

haosdent commented 6 years ago

When fetch repos in docker, we would get

[ERROR] Failed to set version on github.com/getsentry/raven-go to 32a13797442ccb601b11761d74232773c1402d14: Unable to update checked out version: exit status 128

It is because we copy cached repos from host into docker. And in docker, if the git submodule ref to an absolute path, it would fail since that path would not exist in the docker container.