From 0b848c855491fa1e7efccd7b4390c4db20e86295 Mon Sep 17 00:00:00 2001 From: kdumontnu Date: Fri, 2 Sep 2022 04:34:49 +0800 Subject: [PATCH] Use same git version as production alpine 3.16 (#15) Use the same version as alpine 3.16 ``` git version 2.36.2 ``` Reviewed-on: https://gitea.com/gitea/test-env/pulls/15 Reviewed-by: techknowlogick Co-authored-by: kdumontnu Co-committed-by: kdumontnu --- Dockerfile | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Dockerfile b/Dockerfile index 1c861dd..8eafa96 100644 --- a/Dockerfile +++ b/Dockerfile @@ -12,14 +12,14 @@ RUN addgroup \ --gid $GITEA_GID \ gitea -# upgrade git to v2.36.0 -RUN curl -SL https://github.com/git/git/archive/v2.36.0.tar.gz \ +# upgrade git to v2.36.2 +RUN curl -SL https://github.com/git/git/archive/v2.36.2.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.36.0 prefix=/usr all \ - && make -C /go/git-2.36.0 prefix=/usr install \ - && rm -rf /go/git-2.36.0 \ + && make -C /go/git-2.36.2 prefix=/usr all \ + && make -C /go/git-2.36.2 prefix=/usr install \ + && rm -rf /go/git-2.36.2 \ # install git-lfs && curl -s https://packagecloud.io/install/repositories/github/git-lfs/script.deb.sh | bash \ && apt-get install -y git-lfs \