mirror of
				https://github.com/moby/moby.git
				synced 2022-11-09 12:21:53 -05:00 
			
		
		
		
	Add DOCKER_BUILD_ARGS env to pass build-arg for building deb and rpm
Signed-off-by: Lei Jitang <leijitang@huawei.com>
This commit is contained in:
		
							parent
							
								
									78ce43bad8
								
							
						
					
					
						commit
						82051ab996
					
				
					 2 changed files with 2 additions and 2 deletions
				
			
		| 
						 | 
				
			
			@ -44,7 +44,7 @@ set -e
 | 
			
		|||
 | 
			
		||||
		image="dockercore/builder-deb:$version"
 | 
			
		||||
		if ! docker inspect "$image" &> /dev/null; then
 | 
			
		||||
			( set -x && docker build -t "$image" "$dir" )
 | 
			
		||||
			( set -x && docker build ${DOCKER_BUILD_ARGS} -t "$image" "$dir" )
 | 
			
		||||
		fi
 | 
			
		||||
 | 
			
		||||
		mkdir -p "$DEST/$version"
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue