Browse Source

git 2.36 is needed for safe.directory = '*' to work (#19876)

pull/19893/head
singuliere 3 years ago committed by GitHub
parent
commit
cf6694e815
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 3
      Dockerfile
  2. 3
      Dockerfile.rootless

3
Dockerfile

@ -33,7 +33,6 @@ RUN apk --no-cache add \
ca-certificates \ ca-certificates \
curl \ curl \
gettext \ gettext \
git \
linux-pam \ linux-pam \
openssh \ openssh \
s6 \ s6 \
@ -41,6 +40,8 @@ RUN apk --no-cache add \
su-exec \ su-exec \
gnupg gnupg
RUN apk add git --repository=http://dl-cdn.alpinelinux.org/alpine/v3.16/main
RUN addgroup \ RUN addgroup \
-S -g 1000 \ -S -g 1000 \
git && \ git && \

3
Dockerfile.rootless

@ -32,10 +32,11 @@ RUN apk --no-cache add \
bash \ bash \
ca-certificates \ ca-certificates \
gettext \ gettext \
git \
curl \ curl \
gnupg gnupg
RUN apk add git --repository=http://dl-cdn.alpinelinux.org/alpine/v3.16/main
RUN addgroup \ RUN addgroup \
-S -g 1000 \ -S -g 1000 \
git && \ git && \

Loading…
Cancel
Save