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

Trust git repositories in builder #216

Merged
merged 1 commit into from
Aug 14, 2024
Merged

Conversation

agners
Copy link
Member

@agners agners commented Aug 12, 2024

With the Alpine 3.20 upgrade git no longer by default trust git repositories. This leads to a warning by Dockers BuildKit:

WARNING: current commit information was not captured by the build: failed to read current commit information with git rev-parse --is-inside-work-tree

Avoid this warning by trusting all git repositories like before the Alpine 3.20 upgrade.

It probably would be better if we can simply trust only the passed data directory, but the git repository might be higher up then the passed path. Also the data directory could be something other than /data.

With the Alpine 3.20 upgrade git no longer by default trust git
repositories. This leads to a warning by Dockers BuildKit:

WARNING: current commit information was not captured by the build: failed to read current commit information with git rev-parse --is-inside-work-tree

Avoid this warning by trusting all git repositories like before the
Alpine 3.20 upgrade.

It probably would be better if we can simply trust only the passed data
directory, but the git repository might be higher up then the passed
path. Also the data directory could be something other than /data.
@frenck frenck merged commit 4317da9 into master Aug 14, 2024
10 checks passed
@frenck frenck deleted the trust-git-repos-in-container branch August 14, 2024 07:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants