mirror of
				https://github.com/zokradonh/kopano-docker
				synced 2025-11-03 20:07:27 +00:00 
			
		
		
		
	adapt makefile for utils image
Signed-off-by: Felix Bartels <felix@host-consultants.de>
This commit is contained in:
		
							parent
							
								
									531184a598
								
							
						
					
					
						commit
						bdef62508e
					
				
							
								
								
									
										7
									
								
								Makefile
									
									
									
									
									
								
							
							
						
						
									
										7
									
								
								Makefile
									
									
									
									
									
								
							@ -5,6 +5,7 @@ docker_pwd := `cat ~/.docker-account-pwd`
 | 
				
			|||||||
base_version = $(shell docker run --rm $(docker_repo)/kopano_base cat /kopano/buildversion)
 | 
					base_version = $(shell docker run --rm $(docker_repo)/kopano_base cat /kopano/buildversion)
 | 
				
			||||||
base_download_version := $(shell ./version.sh core)
 | 
					base_download_version := $(shell ./version.sh core)
 | 
				
			||||||
core_version = $(shell docker run --rm $(docker_repo)/kopano_core cat /kopano/buildversion | grep -o -P '(?<=-).*(?=\+)')
 | 
					core_version = $(shell docker run --rm $(docker_repo)/kopano_core cat /kopano/buildversion | grep -o -P '(?<=-).*(?=\+)')
 | 
				
			||||||
 | 
					utils_version = $(shell docker run --rm $(docker_repo)/kopano_core cat /kopano/buildversion | grep -o -P '(?<=-).*(?=\+)')
 | 
				
			||||||
core_download_version := $(shell ./version.sh core)
 | 
					core_download_version := $(shell ./version.sh core)
 | 
				
			||||||
webapp_version = $(shell docker run --rm $(docker_repo)/kopano_webapp cat /kopano/buildversion | tail -n 1 | grep -o -P '(?<=-).*(?=\+)')
 | 
					webapp_version = $(shell docker run --rm $(docker_repo)/kopano_webapp cat /kopano/buildversion | tail -n 1 | grep -o -P '(?<=-).*(?=\+)')
 | 
				
			||||||
webapp_download_version := $(shell ./version.sh webapp)
 | 
					webapp_download_version := $(shell ./version.sh webapp)
 | 
				
			||||||
@ -79,6 +80,9 @@ tag-base:
 | 
				
			|||||||
tag-core:
 | 
					tag-core:
 | 
				
			||||||
	component=core make tag
 | 
						component=core make tag
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					tag-utils:
 | 
				
			||||||
 | 
						component=utils make tag
 | 
				
			||||||
 | 
					
 | 
				
			||||||
tag-webapp:
 | 
					tag-webapp:
 | 
				
			||||||
	component=webapp make tag
 | 
						component=webapp make tag
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@ -105,6 +109,9 @@ publish-base: build-base tag-base
 | 
				
			|||||||
publish-core: build-core tag-core
 | 
					publish-core: build-core tag-core
 | 
				
			||||||
	component=core make publish-container
 | 
						component=core make publish-container
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					publish-utils: build-core build-utils tag-utils
 | 
				
			||||||
 | 
						component=utils make publish-container
 | 
				
			||||||
 | 
					
 | 
				
			||||||
publish-webapp: build-webapp tag-webapp
 | 
					publish-webapp: build-webapp tag-webapp
 | 
				
			||||||
	component=webapp make publish-container
 | 
						component=webapp make publish-container
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user