mirror of
				https://gitee.com/gitea/gitea
				synced 2025-11-04 16:40:24 +08:00 
			
		
		
		
	git 2.36 is needed for safe.directory = '*' to work (#19876)
This commit is contained in:
		@@ -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 && \
 | 
			
		||||
 
 | 
			
		||||
@@ -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 && \
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user