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 \
 | 
					    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 && \
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -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 && \
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user