-
-
Notifications
You must be signed in to change notification settings - Fork 87
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
Alpine docker does not support git 2.35.2 #46
Comments
yes, I saw the same error on version 2.34.1 only. that's the latest image generated, which was auto-generated yesterday. No problem on tag 2.32.x For production usage, please don't use the latest as tag when you pull the image, always stick on a version which have been tested. Let me trigger the pipeline to build a new image on v2.35.2 |
Seems we have to wait for the new version available in Alpine. Let me explain. This Dockerfile is to install git via But currently latest git version in alpine is but the official git release has been v2.36.0 (https://github.com/git/git/tags) I have to wait, otherwise, we need adjust our codes to compile and build the git from source codes, that would be totally different cases. |
unless we switch the base image from But
|
Would it be possible to release a I will say that this is not a blocking issue. We have a workaround that trusts the directory which resolves the issue at the moment. For anyone that stumbles upon this. We are using I'm interested to know your thoughts on what should happen next |
Thanks for organizing and maintaining this project! Just adding a note for others who are attempting to run
Solution:
Example: script:
- docker run --rm --pull always -v /home/deploy-user/:/root -v /path/to/my/app:/git alpine/git config --global --add safe.directory /git"
- docker run --rm --pull always -v /home/deploy-user/:/root -v /path/to/my/app:/git alpine/git pull origin my-branch" |
Hey @ozbillwang I see that alpine has released a new version. Could we update now? |
the free pipeline sets some limitation build time now. i changed the build frequency from daily to weekly. so it is possible to wait for one week to get the latest version |
The latest tag is v2.36.2 already. Close this issu now. |
Hi there,
We are pulling the latest alpine image and running git commands in CI. However we are running into a
fatal: unsafe repository ('...' is owned by someone else)
. This seems to be a new error due to a security vulnerability in git.The recommendation is to update to the latest version of git, version
2.35.2
. Would it be possible to release a new version ofalpine/git
so it is possible to upgrade?Thank you 😃
The text was updated successfully, but these errors were encountered: