]> source.dussan.org Git - gitea.git/commitdiff
git 2.36 is needed for safe.directory = '*' to work (#19876)
authorsinguliere <35190819+singuliere@users.noreply.github.com>
Fri, 3 Jun 2022 17:33:18 +0000 (19:33 +0200)
committerGitHub <noreply@github.com>
Fri, 3 Jun 2022 17:33:18 +0000 (13:33 -0400)
Dockerfile
Dockerfile.rootless

index f30772afd9203f02ea17bef516992ea997f1c863..8a899b9a72e98b0923b398179ab418c000462579 100644 (file)
@@ -33,7 +33,6 @@ RUN apk --no-cache add \
     ca-certificates \
     curl \
     gettext \
-    git \
     linux-pam \
     openssh \
     s6 \
@@ -41,6 +40,8 @@ RUN apk --no-cache add \
     su-exec \
     gnupg
 
+RUN apk add git --repository=http://dl-cdn.alpinelinux.org/alpine/v3.16/main
+
 RUN addgroup \
     -S -g 1000 \
     git && \
index a247f735f1e1ba28a5b2da422c94a720d4567353..5bcf51647c494ccdc739583cc5dfee1736cfe1d4 100644 (file)
@@ -32,10 +32,11 @@ RUN apk --no-cache add \
     bash \
     ca-certificates \
     gettext \
-    git \
     curl \
     gnupg
 
+RUN apk add git --repository=http://dl-cdn.alpinelinux.org/alpine/v3.16/main
+
 RUN addgroup \
     -S -g 1000 \
     git && \