Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

vergen fails to read build time information #21

Open
michaelherger opened this issue Nov 19, 2021 · 2 comments
Open

vergen fails to read build time information #21

michaelherger opened this issue Nov 19, 2021 · 2 comments

Comments

@michaelherger
Copy link

When I use your Docker image to compile eg. librespot, it would fail to read the Git commit ID. The project uses vergen to expose that information in environment variables. Even though I mount the project's root folder as /source it seems to fail to extract that information. In my own image I use to compile for other platforms I do the same volume mapping, and I don't see the same issue. I have no idea why that would happen in yours.

@michaelherger
Copy link
Author

Oh, if my reading is correct, then vergen depends on libgit2. Which probably isn't installed in your image?

@michaelherger
Copy link
Author

Haha... I wanted to give adding git support a try. But the Debian base image is so old, it wouldn't find any of the dependencies any more... I guess that's a "won't fix", unless somebody brings the whole image up to date.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant