alpine-docker / git

A useful simple git container running in alpine linux, especially for tiny linux distro, such as RancherOS, which don't have package manager.
Apache License 2.0
155 stars 86 forks source link

How can i upgrade the git version in alpine/git:v2.24.3-user ? #61

Closed cappuuuuuu closed 1 year ago

cappuuuuuu commented 1 year ago

I want to user git sparse-out, but it's not support in git v2.24.3, and i want to use non-root, plz . Thank you !

ozbillwang commented 1 year ago

Not sure I got you. the latest git image is v2.40.1

image

For non-root usage, I used to maintain in another branch, you can take a reference: https://github.com/alpine-docker/git/blob/feature/non-root/Dockerfile, I didn't work on it for more than 3 years.