mirror of https://gitea.com/gitea/test-env.git
Upgrade git to v2.30.2 (#6)
Reviewed-on: https://gitea.com/gitea/test-env/pulls/6 Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com> Reviewed-by: techknowlogick <techknowlogick@gitea.io> Co-authored-by: 6543 <6543@obermui.de> Co-committed-by: 6543 <6543@obermui.de>
This commit is contained in:
parent
48fe3847bd
commit
2e505962c7
10
Dockerfile
10
Dockerfile
|
@ -1,13 +1,13 @@
|
|||
FROM golang:1.16
|
||||
|
||||
# upgrade git to v2.30.1
|
||||
RUN curl -SL https://github.com/git/git/archive/v2.30.1.tar.gz \
|
||||
# upgrade git to v2.30.2
|
||||
RUN curl -SL https://github.com/git/git/archive/v2.30.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.30.1 prefix=/usr all \
|
||||
&& make -C /go/git-2.30.1 prefix=/usr install \
|
||||
&& rm -rf /go/git-2.30.1 \
|
||||
&& make -C /go/git-2.30.2 prefix=/usr all \
|
||||
&& make -C /go/git-2.30.2 prefix=/usr install \
|
||||
&& rm -rf /go/git-2.30.2 \
|
||||
# install git-lfs
|
||||
&& curl -s https://packagecloud.io/install/repositories/github/git-lfs/script.deb.sh | bash \
|
||||
&& apt-get install -y git-lfs \
|
||||
|
|
Loading…
Reference in New Issue