mirror of
				https://github.com/zokradonh/kopano-docker
				synced 2025-10-31 02:17:47 +00:00 
			
		
		
		
	remove smime, files and mdm version
as they are just "newest" when using the repo and are put in the file through dl_and_package_community when not uniquely sort file to filter out duplicates remove workaround from makefile Signed-off-by: Felix Bartels <felix@host-consultants.de>
This commit is contained in:
		
							parent
							
								
									250c73053f
								
							
						
					
					
						commit
						1db616d24c
					
				
							
								
								
									
										2
									
								
								Makefile
									
									
									
									
									
								
							
							
						
						
									
										2
									
								
								Makefile
									
									
									
									
									
								
							| @ -200,7 +200,7 @@ tag-web: | ||||
| 
 | ||||
| tag-webapp: | ||||
| 	$(eval webapp_version := \
 | ||||
| 	$(shell docker run --rm $(docker_repo)/kopano_webapp cat /kopano/buildversion | grep webapp | cut -d- -f2 | cut -d+ -f1 | head -n 1)) | ||||
| 	$(shell docker run --rm $(docker_repo)/kopano_webapp cat /kopano/buildversion | grep webapp | cut -d- -f2 | cut -d+ -f1)) | ||||
| 	component=webapp make tag-container | ||||
| 
 | ||||
| tag-zpush: | ||||
|  | ||||
| @ -41,14 +41,6 @@ ARG DOWNLOAD_COMMUNITY_PACKAGES=1 | ||||
| ARG KOPANO_CORE_REPOSITORY_URL="file:/kopano/repo/core" | ||||
| ARG KOPANO_CORE_VERSION=newest | ||||
| ARG KOPANO_REPOSITORY_FLAGS="trusted=yes" | ||||
| ARG KOPANO_WEBAPP_REPOSITORY_URL="file:/kopano/repo/webapp" | ||||
| ARG KOPANO_WEBAPP_VERSION=newest | ||||
| ARG KOPANO_WEBAPP_FILES_REPOSITORY_URL="file:/kopano/repo/files" | ||||
| ARG KOPANO_WEBAPP_FILES_VERSION=newest | ||||
| ARG KOPANO_WEBAPP_MDM_REPOSITORY_URL="file:/kopano/repo/mdm" | ||||
| ARG KOPANO_WEBAPP_MDM_VERSION=newest | ||||
| ARG KOPANO_WEBAPP_SMIME_REPOSITORY_URL="file:/kopano/repo/smime" | ||||
| ARG KOPANO_WEBAPP_SMIME_VERSION=newest | ||||
| ARG RELEASE_KEY_DOWNLOAD=0 | ||||
| 
 | ||||
| # get common utilities | ||||
|  | ||||
| @ -25,12 +25,6 @@ ARG KOPANO_CORE_VERSION=newest | ||||
| ENV KOPANO_CORE_VERSION=$KOPANO_CORE_VERSION | ||||
| ARG KOPANO_WEBAPP_VERSION=newest | ||||
| ENV KOPANO_WEBAPP_VERSION=$KOPANO_WEBAPP_VERSION | ||||
| ARG KOPANO_WEBAPP_FILES_VERSION=newest | ||||
| ENV KOPANO_WEBAPP_FILES_VERSION=$KOPANO_WEBAPP_FILES_VERSION | ||||
| ARG KOPANO_WEBAPP_MDM_VERSION=newest | ||||
| ENV KOPANO_WEBAPP_MDM_VERSION=$KOPANO_WEBAPP_MDM_VERSION | ||||
| ARG KOPANO_WEBAPP_SMIME_VERSION=newest | ||||
| ENV KOPANO_WEBAPP_SMIME_VERSION=$KOPANO_WEBAPP_SMIME_VERSION | ||||
| ARG RELEASE_KEY_DOWNLOAD=0 | ||||
| ENV RELEASE_KEY_DOWNLOAD=$RELEASE_KEY_DOWNLOAD | ||||
| 
 | ||||
| @ -53,9 +47,8 @@ RUN \ | ||||
|     echo "deb [${KOPANO_REPOSITORY_FLAGS}] ${KOPANO_WEBAPP_FILES_REPOSITORY_URL} ./" >> /etc/apt/sources.list.d/kopano.list; \ | ||||
|     # save kopano version | ||||
|     echo "webapp-${KOPANO_WEBAPP_VERSION}" >> /kopano/buildversion; \ | ||||
|     echo "files-${KOPANO_WEBAPP_FILES_VERSION}" >> /kopano/buildversion; \ | ||||
|     echo "mdm-${KOPANO_WEBAPP_MDM_VERSION}" >> /kopano/buildversion; \ | ||||
|     echo "smime-${KOPANO_WEBAPP_SMIME_VERSION}" >> /kopano/buildversion; \ | ||||
|     # sort version file uniquely | ||||
|     sort -u -o /kopano/buildversion /kopano/buildversion; \ | ||||
|     # install apt keys if supported kopano | ||||
|     if [ ${RELEASE_KEY_DOWNLOAD} -eq 1 ]; then \ | ||||
|         curl -s -S -o - "${KOPANO_CORE_REPOSITORY_URL}/Release.key" | apt-key add -; \ | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user