mirror of
				https://github.com/zulip/docker-zulip.git
				synced 2025-11-03 21:43:26 +00:00 
			
		
		
		
	dockerfile: Check out during clone, so remote refnames work.
Otherwise, ZULIP_GIT_REF has to be a `refs/remotes/origin/foo`-style refname.
This commit is contained in:
		
				
					committed by
					
						
						Alex Vandiver
					
				
			
			
				
	
			
			
			
						parent
						
							e49a16829d
						
					
				
				
					commit
					4926213cab
				
			@@ -29,9 +29,8 @@ WORKDIR /home/zulip
 | 
			
		||||
ARG ZULIP_GIT_URL=https://github.com/zulip/zulip.git
 | 
			
		||||
ARG ZULIP_GIT_REF=11.2
 | 
			
		||||
 | 
			
		||||
RUN git clone "$ZULIP_GIT_URL" && \
 | 
			
		||||
    cd zulip && \
 | 
			
		||||
    git checkout -b current "$ZULIP_GIT_REF"
 | 
			
		||||
RUN git clone "$ZULIP_GIT_URL" -b "$ZULIP_GIT_REF" && \
 | 
			
		||||
    cd zulip
 | 
			
		||||
 | 
			
		||||
WORKDIR /home/zulip/zulip
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user