From 5cbc2c5b397eb7b077888ce898189ec9919279af Mon Sep 17 00:00:00 2001 From: techknowlogick Date: Mon, 23 Aug 2021 21:40:01 +0800 Subject: [PATCH] update to go1.17 and git 2.33.0 (#8) Signed-off-by: techknowlogick Reviewed-on: https://gitea.com/gitea/test-env/pulls/8 Reviewed-by: 6543 <6543@obermui.de> Reviewed-by: Lunny Xiao Co-authored-by: techknowlogick Co-committed-by: techknowlogick --- Dockerfile | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/Dockerfile b/Dockerfile index 2460dd2..1a34e2a 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,13 +1,13 @@ -FROM golang:1.16 +FROM golang:1.17-buster -# upgrade git to v2.30.2 -RUN curl -SL https://github.com/git/git/archive/v2.30.2.tar.gz \ +# upgrade git to v2.33.0 +RUN curl -SL https://github.com/git/git/archive/v2.33.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.30.2 prefix=/usr all \ - && make -C /go/git-2.30.2 prefix=/usr install \ - && rm -rf /go/git-2.30.2 \ + && make -C /go/git-2.33.0 prefix=/usr all \ + && make -C /go/git-2.33.0 prefix=/usr install \ + && rm -rf /go/git-2.33.0 \ # install git-lfs && curl -s https://packagecloud.io/install/repositories/github/git-lfs/script.deb.sh | bash \ && apt-get install -y git-lfs \