update to git 2.35.0

Signed-off-by: techknowlogick <techknowlogick@gitea.io>
This commit is contained in:
techknowlogick 2022-01-26 06:41:46 +08:00
parent 64076dd3c0
commit 75ff84b393
1 changed files with 5 additions and 5 deletions

View File

@ -12,14 +12,14 @@ RUN addgroup \
--gid $GITEA_GID \
gitea
# upgrade git to v2.34.1
RUN curl -SL https://github.com/git/git/archive/v2.34.1.tar.gz \
# upgrade git to v2.35.0
RUN curl -SL https://github.com/git/git/archive/v2.35.0.tar.gz \
| tar -xzv -C /go \
&& apt-get update \
&& apt-get install -y libcurl4-gnutls-dev libexpat1-dev gettext libz-dev libssl-dev \
&& make -C /go/git-2.34.1 prefix=/usr all \
&& make -C /go/git-2.34.1 prefix=/usr install \
&& rm -rf /go/git-2.34.1 \
&& make -C /go/git-2.35.0 prefix=/usr all \
&& make -C /go/git-2.35.0 prefix=/usr install \
&& rm -rf /go/git-2.35.0 \
# install git-lfs
&& curl -s https://packagecloud.io/install/repositories/github/git-lfs/script.deb.sh | bash \
&& apt-get install -y git-lfs \