Skip to content

Commit 35eb697

Browse files
committed
git 2.36 is needed for safe.directory = '*' to work
Refs: #19455
1 parent 704f809 commit 35eb697

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,14 +33,15 @@ RUN apk --no-cache add \
3333
ca-certificates \
3434
curl \
3535
gettext \
36-
git \
3736
linux-pam \
3837
openssh \
3938
s6 \
4039
sqlite \
4140
su-exec \
4241
gnupg
4342

43+
RUN apk add git --repository=http://dl-cdn.alpinelinux.org/alpine/v3.16/main
44+
4445
RUN addgroup \
4546
-S -g 1000 \
4647
git && \

Dockerfile.rootless

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,10 +32,11 @@ RUN apk --no-cache add \
3232
bash \
3333
ca-certificates \
3434
gettext \
35-
git \
3635
curl \
3736
gnupg
3837

38+
RUN apk add git --repository=http://dl-cdn.alpinelinux.org/alpine/v3.16/main
39+
3940
RUN addgroup \
4041
-S -g 1000 \
4142
git && \

0 commit comments

Comments
 (0)